Code block syntax highlighting renders as chaotic rainbow/kaleidoscope colors

Resolved 💬 2 comments Opened Jan 26, 2026 by silicondon Closed Jan 26, 2026

Description

When Claude outputs bash/shell commands in fenced code blocks, the syntax highlighting in the terminal renderer produces a chaotic, rainbow-colored "kaleidoscope" effect that makes the text difficult to read.

Screenshot

The highlighting fragments commands into many different colors. For example, a command like:

docker rm -f dynamodb-local dynamodb-admin localstack

Renders with words split across multiple colors (green, yellow, cyan, red, etc.) in a pattern that appears random rather than meaningful.

Expected Behavior

Syntax highlighting should either:

  1. Use a consistent, readable color scheme for bash commands
  2. Apply minimal highlighting that aids readability
  3. Allow users to disable syntax highlighting for code blocks

Actual Behavior

Code blocks display with fragmented multi-color highlighting that makes commands harder to read than plain monochrome text.

Environment

  • Platform: Windows 11
  • Terminal: Claude Code CLI
  • Date observed: 2026-01-26

Workaround

Commands can be copied correctly despite the visual issue - the underlying text is correct.

View original on GitHub ↗

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