Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
bin: Quit with Ctrl-C
Erik Kundt committed 2 years ago
commit 67b38687001805754d48140acda773b2a8b19a84
parent ba1e389767a7a133af0d41cc83953f97dfa6719b
3 files changed +3 -3
modified bin/commands/inbox/flux/select/ui.rs
@@ -78,7 +78,7 @@ impl Widget<InboxState, Action> 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') => {
modified bin/commands/issue/flux/select/ui.rs
@@ -82,7 +82,7 @@ impl Widget<IssuesState, Action> 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') => {
modified bin/commands/patch/flux/select/ui.rs
@@ -82,7 +82,7 @@ impl Widget<PatchesState, Action> 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') => {