github / github/copilot-cli

Copilot CLI colors don't respect terminal theme in Warp

未关闭
#4,843 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

triage
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

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
  1. Set the Mac OS-level appearance to light mode.
  2. Choose a dark theme in the Warp terminal settings.
  3. 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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先,在 macOS 外观设置为浅色且 Warp 使用 Fancy Dracula 主题的情况下,在 Copilot CLI 1.0.84-6 中复现该问题。将其行为与 Copilot 1.0.84-5 和默认 Mac 终端进行比较,然后跟踪 /theme 和 terminal-color 的处理。无论 OS 外观设置如何,Warp 的深色主题都能保持可读,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。