github / github/copilot-cli

Theme turns light over night

Aperta
#4,485 3 commenti 8 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

area:theming-accessibility
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con la Copilot CLI su macOS usando iTerm2 e zsh, seguendo i passaggi di riproduzione riportati per la sospensione e la riapertura. Confronta il tema prima della sospensione e dopo il ciclo giorno/notte, quindi traccia la gestione del tema della CLI per determinare se cambia con l’aspetto di macOS; il lavoro è completato quando i colori rimangono coerenti dopo il risveglio.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli, design
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
52/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.