[Bug] Output streaming not flushed before completion, causing delayed display of Claude's responses

Resolved 💬 2 comments Opened Jun 17, 2026 by cgensoul Closed Jun 20, 2026

Bug Description
Sometimes claude seems to take an overly long time to answer to a simple prompt (like 30 minutes or more) and when I cancel it by pressing ESC, it appears that the engine had actually computed an answer but claude-code had simply failed to display it. When I cancel, claude-code shows to me the answer that I rejected which had not been diplayed beforehand (like if a stream had not been flush or so in claude-code)

Environment Info

  • Platform: linux
  • Terminal: vte-based
  • Version: 2.1.168
  • Feedback ID: 4adf73d5-7298-4ae0-a66a-3de7247f5099

Errors

[]

View original on GitHub ↗

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