[Bug] Multi-line assistant text blocks intermittently not rendered in terminal output
Bug Description
update: multi-line assistant text blocks intermittently not rendered in terminal (follow-up to report from ~2026-06-04 ## New evidence since the original report
Key new data point: the lost text IS present in the session transcript JSONL.
We grepped the session transcript (~/.claude/projects/<project>/<session-id>.jsonl,
1.36 MB) for a distinctive string from a block that never appeared in the terminal —
exact match found. So generation, streaming and persistence are intact; the loss
happens purely in the terminal live-rendering layer. We also ruled out local
interference: no output-related hooks (only a SessionStart git fetch), and our MCP
wrapper only filters tool results toward the model, not assistant output.
Version span
Reproduced on 2.1.161, 2.1.173, and 2.1.175 (Windows 11, PowerShell host).
Four documented incidents across two repos and multiple sessions (2x 2026-06-04,
2x 2026-06-12).
Pattern (consistent across all incidents)
- Lost: multi-line text blocks (markdown tables, fenced code blocks, multi-paragraph
analysis), most often when the block immediately precedes an AskUserQuestion tool
call in the same assistant turn.
- Rendered fine: short one-liners, tool-call headers, AskUserQuestion boxes,
tool results, and text that comes after a tool result.
- Side effect: the transcript view shows empty markers where the multi-line
blocks should be.
- Concrete damage case (2026-06-12, v2.1.175): a verification report containing three
copy-paste prompts was invisible to the user.
Workarounds in use (confirming the layer)
Re-posting the same content to an external channel (Forgejo issue comment) or a file
works reliably. Ctrl+R transcript view does NOT work on Windows as a workaround
(reported 2026-06-04, still the case).
Repro suggestion
Long multi-line markdown block (table + fenced code) emitted directly before an
AskUserQuestion call, Windows terminal host. Intermittent — roughly correlated with
block length, not with turn position (fresh turns affected too).
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.175
- Feedback ID: d0d6c4f9-eb46-4797-b736-bdc3e4469538
Errors
[]This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗