Thinking/reasoning text is unreadable on dark backgrounds (hardcoded dim color)
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 6
描述
### Describe the bug
The "Thinking…" reasoning text displayed during model inference is nearly invisible on dark terminal backgrounds. The text appears to use a hardcoded dark gray foreground that has insufficient contrast against dark backgrounds.
This started with a recent update (noticed on 1.0.64).
### Environment
- **OS:** Windows 11 + WSL2
- **Terminal:** Windows Terminal (dark color scheme)
- **Multiplexer:** tmux
- **Copilot CLI version:** 1.0.64
- **Model:** Claude Opus 4.6 (extended thinking enabled)
### Steps to reproduce
1. Use a dark terminal color scheme (default Windows Terminal dark, or similar)
2. Run `copilot` in tmux
3. Ask a question that triggers extended thinking/reasoning
4. Observe the "Thinking…" block text is nearly invisible
### Expected behavior
Thinking/reasoning text should have sufficient contrast on both dark and light backgrounds. Ideally it would:
- Use a semantic ANSI color (e.g., `brightBlack` / color 8) rather than a hardcoded RGB
- Or respect the terminal's dim attribute rendering
- Or be configurable via a theme/config setting
### Workaround
Bumping `brightBlack` in the Windows Terminal color scheme to `#808080` or lighter partially helps, but this affects all dim text globally.
### Related issues
- #3750 — Hardcoded colors break light themes (same root cause, opposite direction)
- #2123 — Feature request for per-element theming (would solve this)
- #1504 — Custom theme support request
貢獻指南
研究方向
Start by reproducing the "Thinking…" block in the Copilot CLI under dark and light terminal themes, including Windows Terminal with tmux. Trace where the reasoning text color is selected and compare it with the related issues #3750, #2123, and #1504. Done means the text has sufficient contrast on both dark and light backgrounds without requiring a global brightBlack change.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- shell
- 領域
- accessibility, cli
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 58/100