[FEATURE] CTRL-C should clear drafted text - not kill background agents
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
The Claude CLI teaches users to use CTRL-C to clear their text and to exit the application. What is less obvious is that it also kills sub-agents and background processes.
That's probably fine, but it's the most destructive behaviour of the three.
Proposed Solution
If the user has un-sent text in their composer and they press CTRL-C, the text should be cleared first.
The TUI should only kill background agents via CTRL-C if the composer is already completely empty.
It could probably also do the "press CTRL-C again to ACTUALLY kill the background process", mirroring the "close claude" use-case for the shortcut.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Interactive mode (TUI)
Use Case Example
_No response_
Additional Context
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗