diff --git a/pulse-ui/src/widget/input.rs b/pulse-ui/src/widget/input.rs index f774d94..475fbc5 100644 --- a/pulse-ui/src/widget/input.rs +++ b/pulse-ui/src/widget/input.rs @@ -29,7 +29,7 @@ mod platform { #[cfg(not(target_os = "macos"))] mod platform { - use crossterm::event::{KeyCode, KeyEvent}; + use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; pub fn is_backspace(event: &KeyEvent) -> bool { matches!(event.code, KeyCode::Backspace)