diff --git a/tui/src/state.rs b/tui/src/state.rs index 6f8bef83..b4b7ddb6 100644 --- a/tui/src/state.rs +++ b/tui/src/state.rs @@ -418,6 +418,12 @@ impl AppState { return false; } + if matches!(self.focus, Focus::ConfirmationPrompt(_)) + && (key.modifiers.contains(KeyModifiers::CONTROL) && key.code == KeyCode::Char('c')) + { + return false; + } + // If UI is not drawable returning true will mark as the key handled if !self.drawable { return true;