From 335c0b0e0930fb1a014e00752552b36315264df2 Mon Sep 17 00:00:00 2001 From: Klesti Selimaj Date: Sat, 18 Jul 2026 13:51:19 -0400 Subject: [PATCH] Fix KeyModifiers not working --- pulse-ui/src/widget/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)