[BUG] Status line renders raw ANSI escape code \033[0m after cost value

Resolved 💬 3 comments Opened Apr 10, 2026 by chris-yoshih Closed Apr 14, 2026

Description

The status line displays the raw ANSI escape sequence \033[0m as literal text after the cost value instead of interpreting it as a color reset.

Observed

$4.972\033[0m  ctx:5%  Opus 4.6 (1M context)

Expected

$4.972  ctx:5%  Opus 4.6 (1M context)

The \033[0m reset code should either be interpreted (resetting terminal color) or not emitted at all in the status line.

Environment

  • macOS, zsh terminal
  • Claude Code CLI
  • Model: Opus 4.6 (1M context)

View original on GitHub ↗

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