Skip to content

[FEATURE] Let responses color parts of the text (e.g. questions to the user in green) #105651

Open

Description

@xytras1

Feature request

Let the assistant use colored text in its responses in the terminal UI.

Today

In a reply, color comes only from Markdown that the renderer maps to the theme: inline code gets the accent color, and fenced code blocks get syntax highlighting. The model can't color a word or line on purpose. ANSI escape codes in a response aren't rendered as color.

Main use case: make questions stand out

When a reply asks me something, the question should be impossible to miss. For example, a line like "Do you want me to reap slot 4?" at the end of a long status reply would show in green (or another color the theme reserves for "needs your answer"). The rest of the reply stays the default color. In a long agent session, questions are easy to skim past in plain white text, and a missed question stalls the work.

Other uses

Status replies would also be faster to scan with color:

  • a red "failed" or "blocked", and a green "landed" or "passed"
  • a muted timestamp or footnote

Right now the only workaround is to put words in backticks so they pick up the accent color. That changes what the text means (it reads as code), and it gives you only one color.

Possible shapes

  • A small set of semantic color spans the renderer maps to the current theme (e.g. question, success, error, warning, muted). Colors stay theme-safe and readable in light and dark themes.
  • Or let a user setting allow a limited subset of ANSI SGR color codes in responses.

Semantic names seem safer than raw colors, because they follow /theme and stay readable.

Related

Activity

  1. changed the title [-][FEATURE] Let responses use colored text (semantic color spans in the terminal UI)[/-] [+][FEATURE] Let responses color parts of the text (e.g. questions to the user in green)[/+] on Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions