[BUG] Terminal clears frequently and for no reason, hiding conversation history
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?
This just started last night: 3/31
% claude --version
2.1.89 (Claude Code)
The terminal session clears, making it impossible to see any part of the conversation prior to the clearance. It looks the same as when claude code compacts. The top of the terminal session shows the claude robot, version, license, etc. But compaction is not involved (no compaction warnings or notices, any nowhere near the compaction threshold).
This is a giant productivity killer because the remaining content is not sufficient to resume my own context about what that window was doing, and there is no way to see any of the thinking that went into the conclusion that is presented.
What Should Happen?
Claude code terminal should leave the conversation history in place.
Error Messages/Logs
▐▛███▜▌ Claude Code v2.1.89
▝▜█████▛▘ Opus 4.6 (1M context) · Claude Max
▘▘ ▝▝ /sandbox/.worktrees/AM-2030
... This is what shows at the top of the terminal
Steps to Reproduce
Have a slightly sustained conversation with claude code.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
Whatever came before Claude Code v2.1.89
Claude Code Version
v2.1.89
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
This is a mac os terminal, shelled into a docker container.
This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗