github / github/copilot-cli

Thinking/reasoning text is unreadable on dark backgrounds (hardcoded dim color)

Aperta
#3,866 1 commento 4 reazioni 0 assegnatari Vedi su GitHub
area:theming-accessibility
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

### 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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
accessibility, cli
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
58/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.