diff --git a/bin/commands/inbox/flux/select/ui.rs b/bin/commands/inbox/flux/select/ui.rs index 54f6ac49..1deee260 100644 --- a/bin/commands/inbox/flux/select/ui.rs +++ b/bin/commands/inbox/flux/select/ui.rs @@ -78,7 +78,7 @@ impl Widget for ListPage { fn handle_key_event(&mut self, key: termion::event::Key) { match key { - Key::Char('q') => { + Key::Char('q') | Key::Ctrl('c') => { let _ = self.action_tx.send(Action::Exit { selection: None }); } Key::Char('\n') => { diff --git a/bin/commands/issue/flux/select/ui.rs b/bin/commands/issue/flux/select/ui.rs index 51c5f0c1..b790a2bf 100644 --- a/bin/commands/issue/flux/select/ui.rs +++ b/bin/commands/issue/flux/select/ui.rs @@ -82,7 +82,7 @@ impl Widget for ListPage { fn handle_key_event(&mut self, key: termion::event::Key) { match key { - Key::Char('q') => { + Key::Char('q') | Key::Ctrl('c') => { let _ = self.action_tx.send(Action::Exit { selection: None }); } Key::Char('\n') => { diff --git a/bin/commands/patch/flux/select/ui.rs b/bin/commands/patch/flux/select/ui.rs index 19789eea..62e69d8b 100644 --- a/bin/commands/patch/flux/select/ui.rs +++ b/bin/commands/patch/flux/select/ui.rs @@ -82,7 +82,7 @@ impl Widget for ListPage { fn handle_key_event(&mut self, key: termion::event::Key) { match key { - Key::Char('q') => { + Key::Char('q') | Key::Ctrl('c') => { let _ = self.action_tx.send(Action::Exit { selection: None }); } Key::Char('\n') => {