Ghost prompt suggestion renders darker than normal text on light backgrounds (SGR 2 faint on default fg)

Status Open
Maintainer reply None cached
Activity 0 comments · opened Jul 24, 2026

Environment

  • Claude Code v2.1.218 (native install), Windows 11, Windows Terminal, PowerShell
  • Theme: light-ansi (affects any light theme / any terminal that implements SGR 2 "faint" by darkening)

Bug

The edit-line ghost prompt suggestion is rendered with Ink dimColor (ANSI SGR 2 "faint") on the default foreground, with no theme color key involved.

Windows Terminal implements faint by halving the RGB value toward black. On a light background this makes the "dimmed" suggestion darker and more prominent than normal typed text - the opposite of the intent, and the user cannot fix it: no Claude Code theme key and no terminal scheme slot affects this element, and Windows Terminal has no setting to change faint rendering.

Pixel-measured: terminal foreground #45443F -> ghost suggestion renders at #22221F (exactly halved).

<img width="651" height="254" alt="Image" src="https://github.com/user-attachments/assets/101fcdef-3263-4656-a349-bba385d8dcd6" />

Expected

The ghost suggestion should be visually subdued on light themes as well - e.g. color it with a theme key (subtle/inactive, which map to ansi:blackBright under the *-ansi themes) instead of relying on SGR 2 faint, which several terminals implement as "darken by 50%".

Repro

  1. Windows Terminal with a light color scheme; Claude Code theme light or light-ansi.
  2. Prompt suggestions enabled (promptSuggestionEnabled unset/true).
  3. Observe the ghost suggestion in the input box: it is darker than normal text instead of lighter.

View original on GitHub ↗