AskUserQuestion text is invisible on dark terminal backgrounds (black text on dark background)

Resolved 💬 3 comments Opened Feb 16, 2026 by cpascariello Closed Feb 20, 2026

Description

The question text in the AskUserQuestion component renders as black (or very dark) text, making it completely invisible against dark terminal backgrounds. The text can only be read by selecting/highlighting it.

The option labels and descriptions are readable — only the question text itself is affected.

Steps to Reproduce

  1. Use a terminal with a dark background (Ghostty in my case)
  2. Trigger any AskUserQuestion prompt (e.g., Claude asking a clarifying question)
  3. The question text is invisible — must be selected to read

Expected Behavior

Question text should be readable against both dark and light terminal backgrounds.

What I Tried

  • Setting Ghostty's minimum-contrast up to 3 — no effect, suggesting the component bypasses terminal-level contrast adjustments (likely rendered via Ink/React rather than plain ANSI text)

Environment

  • Claude Code version: current (Feb 2026)
  • Terminal: Ghostty (xterm-ghostty, truecolor)
  • OS: macOS (Darwin 23.5.0)
  • Terminal background: dark with background-opacity = 0.98

View original on GitHub ↗

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