Copilot CLI colors don't respect terminal theme in Warp
还没有人认领这个 Issue。
评估
调研方向
首先,在 macOS 外观设置为浅色且 Warp 使用 Fancy Dracula 主题的情况下,在 Copilot CLI 1.0.84-6 中复现该问题。将其行为与 Copilot 1.0.84-5 和默认 Mac 终端进行比较,然后跟踪 /theme 和 terminal-color 的处理。无论 OS 外观设置如何,Warp 的深色主题都能保持可读,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
In Warp terminal (Mac), Copilot CLI changes text colors based on the system light/dark mode setting, regardless of the terminal color theme. This means if you have light mode set at the OS level, but use a dark theme in Warp the text colors assume a light background and are unreadable on the dark background. There does not seem to be a way to force dark mode through the /theme settings.
Affected version
GitHub Copilot CLI 1.0.84-6
Steps to reproduce the behavior
- Set the Mac OS-level appearance to light mode.
- Choose a dark theme in the Warp terminal settings.
- Start Copilot.
Results:
Copilot launches in the correct (dark) theme, then switches to light mode colors. The text is difficult (in some cases impossible) to read.
Expected behavior
Copilot CLI should use a text theme appropriate to the terminal color theme, not the OS color theme.
If the terminal is set to a dark theme, use a dark text color theme regardless of the OS setting.
Additional context
Mac OS 15.7.9
Warp v0.2026.09.09.08.26.stable_02
Warp theme "Fancy Dracula"
GitHub Copilot CLI 1.0.84-6
Workarounds:
- Changing the system-level appearance to dark causes Copilot to switch to the proper colors
- Changing Warp to use a light theme makes the text readable again
- Using the default Mac terminal seems to work as expected.
- Reverting to Copilot v1.0.84-5 works as expected.
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-cli 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4729 ·
-
area:sessions
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4712 ·
-
triage
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-cli#4638 ·
-
Expose large_output_file_path on TaskShellProgress so clients can read complete shell-task output 未关闭area:tools
难度 2/5 1-3 小时 新手友好度 78/100
github/copilot-cli#4630 · 1 条评论 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
out-of-date
难度 1/5 1 小时以内 新手友好度 82/100
CachyOS/CachyOS-PKGBUILDS#1894 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
community-scripts/ProxmoxVE#17396 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
mattpocock/skills#1099 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 条评论 ·