aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/handler.rs2
1 files changed, 1 insertions, 1 deletions
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();