diff --git a/crossterm_input/src/input/mod.rs b/crossterm_input/src/input/mod.rs index 5080641..6d5c1e2 100644 --- a/crossterm_input/src/input/mod.rs +++ b/crossterm_input/src/input/mod.rs @@ -91,7 +91,7 @@ pub enum MouseButton { } /// Enum with different key or key combinations. -#[derive(Debug, PartialOrd, PartialEq, Eq)] +#[derive(Debug, PartialOrd, PartialEq, Eq, Clone, Copy)] pub enum KeyEvent { Backspace, Left,