[BUG] Terminal repeatedly re-renders full conversation history on window resize
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?
When using Claude Code in the terminal (macOS, zsh), resizing the terminal window causes the entire conversation history to re-render and scroll into view repeatedly. Each time
▎ the window width changes, the previous response appears again in full — making it look like Claude responded 15-20 times to the same message when it only responded once.
▎
▎ This happens consistently across multiple projects and sessions. Long responses with numbered lists, tables, or wide content make it worse. The token counter and response
▎ content are identical in each "duplicate," confirming it's a display/reflow issue, not multiple API calls.
▎
▎ Environment:
▎ - Claude Code v2.1.116
▎ - macOS (Darwin 25.4.0)
▎ - Shell: zsh
▎ - Model: Sonnet 4.6 / Claude Max
▎
▎ Steps to reproduce:
▎ 1. Start a Claude Code session in the terminal
▎ 2. Get a response with a long numbered list or wide table
▎ 3. Resize the terminal window wider
▎ 4. Observe the previous response re-rendering in full, repeatedly
▎
▎ Expected: Terminal reflows content in place without re-scrolling history
▎
▎ Actual: Full conversation history re-renders and scrolls, making each prior response appear multiple times
What Should Happen?
Anthropic should fix this error.
Error Messages/Logs
No errors, just repeat output.
Steps to Reproduce
▎ 1. Start a Claude Code session in the terminal
▎ 2. Get a response with a long numbered list or wide table
▎ 3. Resize the terminal window wider
▎ 4. Observe the previous response re-rendering in full, repeatedly
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
v2.1.116
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗