github / github/copilot-cli

Ctrl+Backspace (delete previous word) doesn't work on Windows

Offen Anfängerfreundlich
#3,858 1 Kommentar 6 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:input-keyboard area:platform-windows
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

Ctrl+Backspace does nothing in the CLI input prompt on Windows. This is the standard shortcut for "delete previous word" in every other Windows text input (browsers, VS Code, Notepad, shell prompts).

Alt+Backspace works as a workaround, but that's the Unix/macOS convention — not what Windows users reach for.

Windows Terminal's  sendInput  remapping can't fix this either, because the CLI reads raw key events with modifier flags rather than character input.

Likely a small fix — just add Ctrl+Backspace alongside the existing Alt+Backspace handler in the input library.

Environment: Windows 11, Windows Terminal, Copilot CLI 1.0.64-0

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start at the CLI input library's existing Alt+Backspace handler and inspect how raw key events and modifier flags are matched on Windows. Add the equivalent Ctrl+Backspace behavior, then verify that it deletes the previous word in the Windows CLI prompt while preserving the existing Alt+Backspace behavior.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

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

Neue Issues direkt in Ihr Postfach

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