github / github/copilot-cli

--no-alt-screen was silently removed with no replacement — alt-screen is now unavoidable and broken

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

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

Alt-screen/fullscreen mode is a genuine regression for a lot of us, and it's
been reported since March (#1799, #2334) with no resolution.

What makes this worse: the --no-alt-screen flag that used to let people
opt out has now been removed entirely, with no deprecation notice and no
replacement setting. Running it now just fails:

$ copilot --no-alt-screen
error: unknown option '--no-alt-screen'

I checked /settings for an equivalent key and found nothing that restores
inline/streaming rendering. So as of the current release, there is no
supported way to turn off fullscreen mode at all.

This isn't a nice-to-have. Alt-screen breaks:

  • native terminal scrollback (can't scroll up past the current screen)
  • terminal search (Cmd+F / Ctrl+F can't see history)
  • copy/paste in some terminal emulators
  • usability in tmux/screen and browser-based terminals

Please either:

  1. Restore --no-alt-screen (or an equivalent /settings key), or
  2. Clearly document the replacement if one exists and I'm missing it.

Removing an escape hatch that people were actively relying on, without
warning, is a bad pattern. At minimum this needs a documented workaround.

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 damit, copilot --no-alt-screen zu reproduzieren, und untersuche /settings auf die aktuellen Steuerelemente für den alt-screen. Verfolge die CLI-Option und die Settings-Einstiegspunkte, um festzustellen, ob ein Äquivalent existiert oder ob das Flag zurückkehren muss. Erledigt ist dies, wenn das Inline- oder Streaming-Rendering über eine unterstützte, dokumentierte Schnittstelle deaktiviert werden kann, ohne dass ein Fehler aufgrund einer unbekannten Option auftritt.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
48/100

Neue Issues direkt in Ihr Postfach

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