[BUG] renderer hangs deterministically when streaming markdown containing C++ code fences with bool keyword inside long assistant messages; reproduces on Claude Code 2.1.139 + desktop app 1.6608.2.

Resolved 💬 3 comments Opened May 12, 2026 by mhasan420 Closed May 15, 2026

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?

renderer hangs deterministically when streaming markdown containing C++ code fences with bool keyword inside long assistant messages; reproduces on Claude Code 2.1.139 + desktop app 1.6608.2.

What Should Happen?

Should not crash.

Error Messages/Logs

Steps to Reproduce

See above

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.139

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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