[DOCS] Agent view docs incorrectly require two Ctrl+X presses to remove completed sessions
Documentation Type
Incorrect/outdated documentation
Documentation Location
https://code.claude.com/docs/en/agent-view
Section/Topic
"Organize the list," keyboard shortcuts, and worktree cleanup guidance
Current Documentation
The page currently says:
To remove a session from the list, pressCtrl+Xto stop it andCtrl+Xagain within two seconds to delete it.
The keyboard table likewise describes Ctrl+X as stopping a session and requiring a second press to delete it.
What's Wrong or Missing?
As of Claude Code v2.1.206, pressing Ctrl+X on a completed session permanently removes it immediately. The two-press stop-then-delete sequence still makes sense for a running session, but the docs apply that sequence to every session and do not distinguish completed-session removal. This can cause users to repeat the shortcut unnecessarily and misunderstand whether the completed row was permanently removed.
Suggested Improvement
Split the shortcut description by state:
- On a running session,
Ctrl+Xstops it; press it again within two seconds to delete it. - On a completed session,
Ctrl+Xpermanently removes it immediately.
Retain the existing warning that deleting a Claude-created worktree can remove uncommitted changes.
Impact
Low - Minor confusion or inconvenience
Additional Context
Affected Pages:
| Page | Line(s) | Context |
|------|---------|---------|
| https://code.claude.com/docs/en/agent-view | 224-228 | Session removal behavior |
| https://code.claude.com/docs/en/agent-view | 250-261 | Keyboard shortcut table |
| https://code.claude.com/docs/en/agent-view | 410-416 | Worktree cleanup warning |
Total scope: 1 page affected across 3 sections
The behavior changed in Claude Code v2.1.206. The same release also fixed deleted background jobs reappearing, so the documentation should make the permanent-removal semantics explicit.