From b710a775faa6be4cddf0cca476fddd5466f0c11c Mon Sep 17 00:00:00 2001 From: Elijah Voigt Date: Wed, 1 Apr 2026 09:59:56 -0700 Subject: [PATCH] chore(claudbg-wfoe): mark bean completed Co-Authored-By: Claude Sonnet 4.6 --- ...foe--tui-ctrlc-immediately-quits-without-confirmation.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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.