[BUG] Terminal color/highlighting corruption after prolonged session - may be due to communication in Czech

Resolved 💬 5 comments Opened Feb 16, 2026 by krepsy3 Closed Mar 24, 2026

Bug description

After some time in a session, terminal syntax highlighting becomes corrupted.
Colors no longer respect word/token boundaries ÔÇö they bleed across characters randomly.
This affects both code blocks and regular prose in Claude's responses.

At the start of a session everything renders correctly. The corruption appears
after the session has been running for a while (exact time varies).

When asked, Claude confirmed the markup in its response is correct, pointing to
a rendering issue in the Claude Code terminal UI itself.

Steps to reproduce

  1. Start a Claude Code session
  2. Work for an extended period (multiple interactions)
  3. Observe that syntax highlighting / text coloring gradually becomes corrupted

Expected behavior

Colors should stay within token/word boundaries throughout the entire session.

Environment

  • Claude Code version: 2.1.42
  • OS: Windows 10 Pro 10.0.19045
  • Terminals tested: Windows Terminal, standalone console window
  • Shells tested: PowerShell, cmd
  • Behavior is consistent across all terminal/shell combinations

View original on GitHub ↗

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