Theme turns light over night
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Describe the bug
Upon starting copilot at e.g. 8 am. the color theme/tint is dark. Letting the computer go to sleep and reopening the computer the next day at the same time, the color theme/tint is now light. As if it changes between dark and light mode depending on the color scheme of the macOS.
I have attempted to force the terminal application to stay in macOS dark mode, to no avail. Only discovered fix is to exit copilot and reopen it. This resets the color theme/tint back to dark.
Changing the theme to "default" results in the background turning dark again, but code fences stay light gray as does the input field and the tabs at the top. Not all text is visible on the dark background.
Unsure if this actually is a copilot CLI problem or it has to do with the terminal emulator.
Affected version
1.0.79
Steps to reproduce the behavior
- Start copilot CLI
- Sleep computer
- Wait 24 hours (to pass through a day/night cycle)
- Open computer
- Observe the copilot CLI is now all light colors
Expected behavior
That the copilot CLI stays the same colors even after sleeping the computer for a longer duration.
Additional context
- Operating system: macOS 26.6.1 (25G76)
- CPU architecture: ARM, Apple M4 Pro
- Terminal emulator: iTerm2, Build 3.6.11
- Shell: zsh
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
在 macOS 上使用 iTerm2 和 zsh 从 Copilot CLI 开始,按照报告的睡眠并重新打开的复现步骤操作。比较睡眠前和昼夜周期后的主题,然后跟踪 CLI 的主题处理,以确定它是否会随 macOS 外观发生变化;唤醒后颜色保持一致即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli, design
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100