[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

  1. Start a Claude Code session
  2. Have some conversation history
  3. Run /clear
  4. Observe that the chat is cleared
  5. Resize the terminal window
  6. 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.

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗