[BUG] AskUserQuestion: CJK (Korean) text renders as black (#000) in dark mode CLI, unreadable without selection

Resolved 💬 6 comments Opened Mar 31, 2026 by COOL-ANNZI Closed May 6, 2026

Bug Description

When the AskUserQuestion tool displays Korean (CJK) text in the CLI terminal with a dark background, all Korean characters render in black (#000), making them completely invisible. The user must drag-select the text to read it against the highlight color.

Affected fields: question, header, option.label, option.description — all text fields in the AskUserQuestion component.

English text in the same component renders correctly with proper light-colored text.

Screenshot

The screenshot below shows the AskUserQuestion dialog. Korean text is invisible on the dark background — only visible when drag-selected (shown as blue highlight):

  • The header chip shows Korean text in black
  • The question line is entirely black Korean text
  • The option label shows Korean in black (with "(Recommended)" suffix in English visible)
Note: I cannot attach the screenshot directly via CLI. The issue can be trivially reproduced with the steps below.

Steps to Reproduce

  1. Open Claude Code CLI (claude) on Windows Terminal with a dark theme
  2. Use a tool or prompt that triggers AskUserQuestion with Korean text, e.g.:

``json
{
"question": "한국어 렌더링 테스트입니다. 이 텍스트가 정상적으로 보이나요?",
"header": "렌더링 테스트",
"options": [
{"label": "정상 (Recommended)", "description": "한국어 텍스트가 잘 보입니다"},
{"label": "안 보임", "description": "검은색으로 렌더링되어 보이지 않습니다"}
],
"multiSelect": false
}
``

  1. Observe that all Korean text is black and unreadable on the dark background

Expected Behavior

Korean (CJK) text should render with the same foreground color as English text in the AskUserQuestion component.

Actual Behavior

Korean text renders as black (#000 or similar), invisible against the dark terminal background. English text in the same component renders correctly.

Markdown formatting (**bold**, ` code `) applied to Korean text does NOT fix the issue.

Environment

  • Claude Code version: 2.1.87
  • Platform: Windows 11 Pro (10.0.26200)
  • Terminal: Windows Terminal (dark theme)
  • Shell: bash
  • Locale: Korean

Additional Context

  • This issue affects all CJK text in the AskUserQuestion UI component specifically — normal text output from Claude renders Korean correctly.
  • The header chip/tag also renders Korean in black.
  • Possibly related to CJK font fallback not inheriting the foreground color style, or a hardcoded color in the TUI component for non-ASCII text ranges.
  • Related CJK issues exist (#35560, #35602, #37396, #38520) but none cover this specific AskUserQuestion rendering problem.

View original on GitHub ↗

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