[Bug] Multiline string syntax highlighting not applied consistently

Open 💬 0 comments Opened Jul 6, 2026 by JoshuaG-FM

Bug Description
In the Claude Code terminal, multiline strings don't render correctly (i.e., when Claude writes multiline strings as comments, the first line is correctly identified as part of a string, but other lines aren't, and therefore keywords can get colored differently.

Environment Info

  • Platform: darwin
  • Terminal: xterm-256color
  • Version: 2.1.201
  • Feedback ID: 17f5f1b9-81e0-41b3-83a0-7984867f9675

<img width="715" height="208" alt="Image" src="https://github.com/user-attachments/assets/333267f4-bf5c-4902-b7ed-7108f496dd2c" />

View original on GitHub ↗