Black text unreadable in dark mode terminal when using AskUserQuestion
Resolved 💬 3 comments Opened Feb 10, 2026 by 32i Closed Feb 14, 2026
Hey guys, I've got an issue locally.
Here's what's up.
Problem
When Claude Code displays text from the AskUserQuestion tool (and possibly other prompts), the text appears in black color, which is completely unreadable in dark mode terminal themes.
Environment
- OS: macOS (Darwin 25.2.0)
- Terminal: Dark mode enabled
- Claude Code version: Latest CLI version
Steps to Reproduce
- Use Claude Code in a terminal with dark mode/dark background
- Trigger any clarifying question from Claude (uses AskUserQuestion tool)
- The question text appears in black color
- Text is unreadable against dark background
Expected Behavior
- Text should respect terminal color scheme
- OR provide a configuration option for text colors
- OR auto-detect terminal background and adjust text colors accordingly
Suggested Solutions
- Best: Auto-detect terminal background color and use appropriate text colors
- Add configuration option in
~/.claude/settings.jsonfor color theme:
``json``
{
"theme": "auto|light|dark"
}
- Use ANSI color codes that respect terminal color schemes instead of hardcoded colors
Impact
This is a significant usability issue for developers using dark mode terminals, making interactive prompts completely unusable.
Related
This affects any CLI output that uses hardcoded colors, particularly:
- AskUserQuestion prompts
- Interactive selection menus
- Any formatted console output
Would appreciate a fix or workaround for this accessibility issue. Thanks!
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗