[Feature Request] Support ANSI color codes in model response

Status Closed — not planned
Reported on v2.0.76
Maintainer reply None cached
Activity 7 comments · opened Jan 7, 2026 · closed Feb 27, 2026

Feature Request

Allow Claude's responses to include ANSI escape codes that render as colored text in the terminal, or provide a pattern-based coloring mechanism for custom status tags.

Use Case

I use status tags at the end of responses to indicate task state (and trigger notifications):

  • [✅ CLAUDE - DONE - SUCCESS] - should be green
  • [❌ CLAUDE - DONE - FAILED] - should be red
  • [⏳ CLAUDE - INPUT NEEDED] - should be yellow

Currently, all text renders in the same color regardless of semantic meaning. Gemini CLI demonstrates this is technically feasible in terminal-based AI tools.

Proposed Solutions (any of these would work):

  1. Pass through ANSI escape codes from model output instead of sanitizing them
  2. Support a markdown color extension (e.g., {green}text{/green})
  3. Allow users to configure pattern-based coloring in settings (regex → color mapping)

Current Workaround

Using emojis + backticks for inline code styling, but all tags get the same cyan color.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.0.76

View original on GitHub ↗

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