[BUG] `/context` command has displays the context delayed and only temporarily
Status Fixed / completed
Reported on v2.1.7
Maintainer reply ✓ Yes — ashwin-ant
Activity 12 comments · opened Jan 17, 2026 · closed Apr 18, 2026
💡 Likely answer: A maintainer (ashwin-ant, collaborator)
responded on this thread — see the highlighted reply below.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
Running /context shows a delayed visualization of token usage that disappears from the screen
What Should Happen?
The context display should remain on the screen and show up immediately.
Steps to Reproduce
- Start claude session
- Run /context
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.1.7
Claude Code Version
2.1.11
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
Here you can see that the context display disappears after a few seconds.
https://github.com/user-attachments/assets/9a0191ce-bfca-4a75-ad32-a6204f110588
12 Comments
Found 3 possible duplicate issues:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Additional Reproduction Details
Confirming this issue on v2.1.11.
My observations:
/contextshows token usage briefly then vanishes after ~5 secondsEnvironment:
Troubleshooting attempted (none resolved):
statusLineconfigclaude-hudpluginshell-integration-features = no-cursorThis appears related to other TUI rendering issues I'm experiencing:
These issues may share a common root cause in the TUI rendering layer, possibly a regression in v2.1.x.
Same here!
This may be related to #18298 and #18370 (MCP Tool Search not auto-enabling).
Hypothesis: Both issues involve processing MCP tool metadata:
/contextneeds to calculate MCP tool token usage → crashes/flashesIf the MCP tool counting/processing code is broken, both would fail. Setting
ENABLE_TOOL_SEARCH=trueenv var bypasses the auto-detection and makes MCP tool search work, but/contextstill crashes.Environment:
ENABLE_TOOL_SEARCH=truemakes tool search work, but/contextstill flashes briefly then resetsI did all the same troubleshooting and issue remains in 2.1.12
Same here
Same here
Same here
Same here
same here
This was fixed in v2.1.14 — The /context overlay now stays open instead of appearing briefly and closing while message processing finishes. If you're still seeing this in the latest version, please comment with your version and repro and we'll reopen.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.