diff --git a/src/handler.rs b/src/handler.rs index 6b44414..23c3cbe 100755 --- a/src/handler.rs +++ b/src/handler.rs @@ -156,7 +156,7 @@ pub fn handle_key_events(key_event: KeyEvent, app: &mut App) -> AppResult<()> { } else { match key_event.code { // Quit - KeyCode::Char('q'), + KeyCode::Char('q') => app.quit(), KeyCode::Char('c') | KeyCode::Char('C') => { if key_event.modifiers == KeyModifiers::CONTROL { app.quit();