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