github / github/copilot-cli

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

Đang mở
#3,866 1 bình luận 4 reaction 0 người được giao Xem trên GitHub
area:theming-accessibility
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
accessibility, cli
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
58/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.