github / github/copilot-cli

Theme turns light over night

オープン
#4,485 コメント 3 件 リアクション 8 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

area:theming-accessibility
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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
  1. Start copilot CLI
  2. Sleep computer
  3. Wait 24 hours (to pass through a day/night cycle)
  4. Open computer
  5. 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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

macOS 上で iTerm2 と zsh を使って Copilot CLI を開始し、報告されているスリープして再度開く再現手順に従います。スリープ前と昼夜サイクル後のテーマを比較し、次に CLI のテーマ処理を追跡して、macOS の外観に応じて変化するかどうかを判断します。復帰後も色が一貫していれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
shell
領域
cli, design
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。