[FEATURE] Allow Ctrl+D, Ctrl+D to exit `claude agents` (consistent with `claude --resume`)
Status Open
Reported on v2.1.198
Maintainer reply None cached
Activity 0 comments · opened Jul 20, 2026
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
Summary
claude agents quits only via double Esc, whereas a normal Claude Code session (including claude --resume) quits via Ctrl+D, Ctrl+D. The two views use different exit gestures, which breaks muscle memory. claude agents should also accept Ctrl+D, Ctrl+D to exit, in addition to the existing double-Esc.
Motivation
- Inconsistent exit keys across views:
claude --resume/ normal sessions exit on Ctrl+D, Ctrl+D, butclaude agentsignores it and only exits on double Esc. - Users habitually press Ctrl+D, Ctrl+D to leave a Claude Code screen; in
claude agentsthis does nothing, which is confusing and makes the view feel like it "won't quit." - Matching the established exit gesture makes the TUI behave predictably regardless of which view you're in.
Proposed Solution
In claude agents:
- Accept Ctrl+D, Ctrl+D to exit the view, behaving identically to how it exits a normal
claude/claude --resumesession. - Keep double Esc working as well — this is additive, not a replacement.
- Both gestures should perform the same clean exit of the agents view.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
CLI commands and flags
Use Case Example
_No response_
Additional Context
Environment
- Claude Code version: 2.1.198
- Platform: Linux (CLI / console)
Related
- #79435
- #79443