Ctrl+Backspace (delete previous word) doesn't work on Windows
- 主要語言
- Shell
- 星號
- 11.2k
- 分支
- 1.9k
- 平均合併
- 14 小時 16 分鐘
- 30 天內合併 PR
- 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