aboutsummaryrefslogtreecommitdiff
path: root/src/handler.rs
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2024-04-28 23:18:48 +0530
committerkrolxon <krolyxon@tutanota.com>2024-04-28 23:18:48 +0530
commitfb06907cfe9b7bce899697c6495941331fa829b2 (patch)
tree84ae4ca4468938b8d3f87725eee741fc122504b3 /src/handler.rs
parent07351da9502c6c365496d14ea658fd0adfc5bf4f (diff)
epitome of stupidity
Diffstat (limited to 'src/handler.rs')
-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();