You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
762 B
Markdown
14 lines
762 B
Markdown
---
|
|
# claudbg-wfoe
|
|
title: 'TUI: Ctrl+C immediately quits without confirmation'
|
|
status: completed
|
|
type: feature
|
|
priority: normal
|
|
created_at: 2026-04-01T16:47:04Z
|
|
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.
|