diff --git a/src/handler.rs b/src/handler.rs index 6c67907..9e42cc1 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -3,7 +3,7 @@ use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { match key_event.modifiers { - KeyModifiers::CONTROL || KeyModifiers::ALT => { + KeyModifiers::CONTROL | KeyModifiers::ALT => { if key_event.code == KeyCode::Char('c') || key_event.code == KeyCode::Char('C') { app.quit(); }