[BUG] Chat reappears after /clear when terminal is resized
Resolved 💬 3 comments Opened Jan 6, 2026 by PaulRBerg Closed Jan 6, 2026
What went wrong?
After running the /clear command, the chat history is cleared as expected. However, when resizing the terminal window, the previously cleared chat history reappears.
What should happen?
The chat should remain cleared after a terminal resize. The /clear command should permanently clear the conversation until a new message is sent.
Steps to reproduce
- Start a Claude Code session
- Have some conversation history
- Run
/clear - Observe that the chat is cleared
- Resize the terminal window
- Previous chat history reappears
Environment
- Version: 2.0.76 (Claude Code)
- OS: macOS 26.2
- Terminal: WarpTerminal
- Platform: Anthropic API
- Model: Opus
Is this a regression?
Yes - this behavior was not present in earlier versions.
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗