[BUG] [!! URGENT] CLI keeps cleaning the window randomly even inside the same session
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?
Old parts of the terminal window get cleaned mid-developing (inside the same session) or between one session and another one. It's really irritating that I can't watch back what I told Claude or what he did answer me, to copy-paste useful stuff, recontextualize certain specific arguments and such.
Why is Claude cleaning up the board?
I'm now in a window of just 86K tokens used and can't even see my original prompt in THIS session.
If i ask Claude to tell me my original prompt, it can recover it.
I feel this always existed but I'm seeing it somehow got worse.
What Should Happen?
Don't clean history! I have enough gigs of ram to run months of CC history in the terminal window.
Error Messages/Logs
Claude replaces old messages with its header
▐▛███▜▌ Claude Code v2.1.89
▝▜█████▛▘ Opus 4.6 (1M context) with high effort · Claude Max
Steps to Reproduce
Just normal sessions....
Claude Model
Opus
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.89
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
WSL (Windows Subsystem for Linux)
Additional Information
_No response_
This issue has 9 comments on GitHub. Read the full discussion on GitHub ↗