diff --git a/.beans/claudbg-wfoe--tui-ctrlc-immediately-quits-without-confirmation.md b/.beans/claudbg-wfoe--tui-ctrlc-immediately-quits-without-confirmation.md index d9a4ee8..a3d3d17 100644 --- a/.beans/claudbg-wfoe--tui-ctrlc-immediately-quits-without-confirmation.md +++ b/.beans/claudbg-wfoe--tui-ctrlc-immediately-quits-without-confirmation.md @@ -1,11 +1,13 @@ --- # claudbg-wfoe title: 'TUI: Ctrl+C immediately quits without confirmation' -status: in-progress +status: completed type: feature priority: normal created_at: 2026-04-01T16:47:04Z -updated_at: 2026-04-01T16:57:38Z +updated_at: 2026-04-01T16:59:41Z --- Support Ctrl+C to immediately quit without confirmation. Currently quit requires a confirmation dialog; Ctrl+C should bypass this and exit immediately. + +Added Ctrl+C handling at the top of handle_event in src/tui/run.rs, before any modal checks, so it sets should_quit=true immediately regardless of which dialog/screen is active. Updated help modal text (src/tui/modals/help_modal.rs) to document both 'q/Q quit (confirm)' and 'Ctrl+C quit immediately'. Added 3 tests: ctrl_c_quits_immediately, ctrl_c_quits_through_quit_dialog, ctrl_c_quits_through_help_modal.