claude-code - 💡(How to fix) Fix [BUG] Streaming long responses (large plans/markdown) causes Warp terminal to hard-crash on Windows — consider non-streaming or batched flush mode [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55543Fetched 2026-05-03 04:50:41
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Participants
Timeline (top)
labeled ×4

Long streamed responses from Claude Code (e.g. multi-KB plans / markdown) reliably hard-crash the Warp terminal on Windows. Investigation of Warp logs shows Warp emits one INFO event per terminal character, the log floods, and the process is killed with no panic or minidump.

The root cause sits in Warp's renderer/log path, and I've filed it there as warpdotdev/warp#9899. Filing here too because Claude Code's character-by-character streaming is the trigger, and a coarser flush mode or a --no-stream interactive option would let users on affected host-terminals keep working while Warp fixes the underlying issue.

Root Cause

The root cause sits in Warp's renderer/log path, and I've filed it there as warpdotdev/warp#9899. Filing here too because Claude Code's character-by-character streaming is the trigger, and a coarser flush mode or a --no-stream interactive option would let users on affected host-terminals keep working while Warp fixes the underlying issue.

Fix Action

Workaround

Asking the agent to write long output to a markdown file (as in the prompt above) reliably avoids the crash.

RAW_BUFFERClick to expand / collapse

Summary

Long streamed responses from Claude Code (e.g. multi-KB plans / markdown) reliably hard-crash the Warp terminal on Windows. Investigation of Warp logs shows Warp emits one INFO event per terminal character, the log floods, and the process is killed with no panic or minidump.

The root cause sits in Warp's renderer/log path, and I've filed it there as warpdotdev/warp#9899. Filing here too because Claude Code's character-by-character streaming is the trigger, and a coarser flush mode or a --no-stream interactive option would let users on affected host-terminals keep working while Warp fixes the underlying issue.

Environment

  • Claude Code: latest as of 2026-05-02
  • Host terminal: Warp v0.2026.04.27.15.32.stable_03 on Windows 11
  • Reproduces consistently on long-output turns

Reproduction

Issue a prompt that asks Claude Code to produce a long response in the terminal (e.g. "generate a multi-phase implementation plan, intermediate review, then re-plan remaining phases"). Within seconds of the stream starting, Warp dies. Three crashes in ~50 minutes on this workload.

The exact prompt I used (verbatim — nothing sensitive in it):

You were interrupted mid operation. Please check the progress you made so far. I want you to resume. I want you to also make the plan to plan in all phases that were still pending, intermediate critical review of the state of the phase you just finished, and even in the face itself if it's a big face and complex. Plan so accordingly. but write the plan to MD, because there is currently a bug with the warp cli we are using that makes it crash.

Adding the "write the plan to MD" instruction at the end was itself a workaround attempt — but the first response token Claude Code prints (acknowledging the request, listing files it will read, etc.) is already enough to crash Warp on subsequent turns when output is long.

Suggestions

  1. output: file — let me ask the agent to write its main response to a file and only print a one-line summary to the terminal. (Possible today via prompting, but turning it on globally would be safer.)
  2. Batched flush mode — add an env var or setting that buffers output and flushes once per N ms / N tokens / on newline, rather than per character. Would dramatically reduce the per-character event load on any host terminal, not just Warp.
  3. Detect known-bad host terminals — when $TERM_PROGRAM == WarpTerminal on Windows, default to a coarser flush until upstream fixes warpdotdev/warp#8409 / warpdotdev/warp#9899.

Related

Workaround

Asking the agent to write long output to a markdown file (as in the prompt above) reliably avoids the crash.

extent analysis

TL;DR

Implementing a coarser flush mode or adding an option to write long output to a file can help mitigate the issue of Warp terminal crashing on Windows due to long streamed responses from Claude Code.

Guidance

  • Consider using the output: file approach to write the main response to a file and print only a one-line summary to the terminal to reduce the load on the host terminal.
  • Implementing a batched flush mode that buffers output and flushes at intervals (e.g., per N ms, N tokens, or on newline) could dramatically reduce the per-character event load.
  • Detecting known-bad host terminals (e.g., WarpTerminal on Windows) and defaulting to a coarser flush mode until the upstream issue is fixed could provide a temporary workaround.
  • Using the workaround of asking the agent to write long output to a markdown file, as described in the issue, can reliably avoid the crash.

Example

No code snippet is provided as the issue does not require a specific code change, but rather a change in approach or configuration.

Notes

The root cause of the issue lies in Warp's renderer/log path, and a fix is being tracked in the Warp issue tracker. The suggested workarounds aim to mitigate the issue until a permanent fix is available.

Recommendation

Apply the workaround of writing long output to a file or implement a batched flush mode, as these approaches can help reduce the load on the host terminal and prevent crashes.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [BUG] Streaming long responses (large plans/markdown) causes Warp terminal to hard-crash on Windows — consider non-streaming or batched flush mode [1 participants]