From 596467f155cf1b080a886cc17ee09721f8231e6a Mon Sep 17 00:00:00 2001 From: nyx Date: Fri, 4 Oct 2024 22:21:16 -0400 Subject: [PATCH] remove cap support --- tui/src/confirmation.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tui/src/confirmation.rs b/tui/src/confirmation.rs index 726476e0..d883fd2f 100644 --- a/tui/src/confirmation.rs +++ b/tui/src/confirmation.rs @@ -88,7 +88,7 @@ impl FloatContent for ConfirmPrompt { use KeyCode::*; self.status = match key.code { Char('y') | Char('Y') => ConfirmStatus::Confirm, - Char('n') | Char('N') | Esc | Char('q') | Char('Q') => ConfirmStatus::Abort, + Char('n') | Char('N') | Esc | Char('q') => ConfirmStatus::Abort, Char('j') => { self.scroll_down(); ConfirmStatus::None @@ -116,7 +116,7 @@ impl FloatContent for ConfirmPrompt { "Confirmation prompt", Box::new([ Shortcut::new("Continue", ["Y", "y"]), - Shortcut::new("Abort", ["N", "n", "q", "Q", "Esc"]), + Shortcut::new("Abort", ["N", "n", "q", "Esc"]), Shortcut::new("Scroll up", ["k"]), Shortcut::new("Scroll down", ["j"]), Shortcut::new("Close linutil", ["CTRL-c"]),