github / github/copilot-cli

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

オープン 初心者向け
#3,858 コメント 1 件 リアクション 6 件 担当者 0 名 GitHub で見る
area:input-keyboard area:platform-windows
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

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

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

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

調査の方向性

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.

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

評価

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

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

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