From 57ffa3c69026a4bb111eed46308d55847d688d28 Mon Sep 17 00:00:00 2001 From: alemidev Date: Tue, 27 Dec 2022 19:02:13 +0100 Subject: [PATCH] feat: more ways to quit --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 8dcce78..437ff0b 100644 --- a/src/main.rs +++ b/src/main.rs @@ -229,7 +229,7 @@ fn run_app(args: Args, terminal: &mut Terminal) -> Result<(), io match key.modifiers { KeyModifiers::CONTROL => { match key.code { - KeyCode::Char('c') => break, + KeyCode::Char('c') | KeyCode::Char('q') | KeyCode::Char('w') => break, _ => {}, } },