Skip to content

Commit

Permalink
quit shortcut changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Kacperacy committed May 5, 2024
1 parent e39f7f4 commit 1bf624d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 1bf624d

Please sign in to comment.