This will be available in the next version. When the width of the agent pane changes, even without touching the pane (a side panel opening, a split, or a tiling window manager making room for another window), Claude Code only redraws the end of its conversation at the new width and cannot touch what has already scrolled up. The copy at the old width stayed above it: cut fragments, a section printed twice, missing words. Ctrl+L and Ctrl+O only redraw the visible screen, which is why they did not help. AgentsRoom now has Claude redraw the whole conversation at the new width once the width has settled, so each answer appears once, wrapped at the pane width. If it still happens after this update, please reopen this ticket with as many details as possible (a screenshot or a video helps a lot).
Agent terminal garbles the end of long Claude Code replies (fragments, duplicated sections, missing text)
From lothlannDone 3 days agovia agent-mcp
In an agent tab running Claude Code, the last part of a long reply comes out corrupted and can't be recovered from the terminal view. Seen after a turn of about 4.5 minutes that ended with an Edit diff followed by a long markdown reply:
- Lines from the diff block stay on screen, followed by stray fragments of wrapped lines (the tail of a CSS line, half a sentence, a single word).
- One section of the reply is drawn twice: first cut short and wrapped at about half the pane width, then in full at full width.
- Parts of the reply are missing entirely.
- The pane was not resized during the turn.
- Ctrl+O (transcript) and Ctrl+L (redraw) did not bring back the missing text.
AgentsRoom diagnostics
- App version: 1.222.0
- OS: linux 6.19.8-arch1-3-surface (x64)
- Agent CLI: claude
- App language: system
Expected behavior
The full reply drawn once, wrapped at the pane width and scrollable.
Actual behavior
Diff lines followed by orphaned fragments of wrapped lines, one section duplicated (first at ~half width, truncated; then at full width), parts of the reply missing. Ctrl+O and Ctrl+L do not recover it.
Steps to reproduce
- Run a Claude Code agent in an agent tab. 2) Give it a task that ends with an Edit diff and then a long, multi-section markdown reply. 3) Wait for "done" and read the output.
Replies
Thanks: the bug is fixed and the fix ships in the next release. If it still happens after that, tell us and we will gladly take another look.
Sent automatically with your message
Your browser sent this along so the team can reproduce what you saw. Nothing here was typed by you.
- Browser
- Linux