github / github/copilot-cli

Theme turns light over night

Offen
#4,485 3 Kommentare 8 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

area:theming-accessibility
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Copilot CLI unter macOS mit iTerm2 und zsh und befolge die gemeldeten Reproduktionsschritte zum Einschlafen und erneuten Öffnen. Vergleiche das Theme vor dem Einschlafen und nach dem Tag-/Nachtzyklus und verfolge anschließend die Theme-Verarbeitung der CLI, um festzustellen, ob sie sich mit der Darstellung von macOS ändert; abgeschlossen ist die Aufgabe, wenn die Farben nach dem Aufwachen konsistent bleiben.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli, design
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.