Ctrl+Backspace (delete previous word) doesn't work on Windows
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 75/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- shell
- 领域
- cli, operating-systems
调研方向
从 CLI 输入库现有的 Alt+Backspace 处理程序入手,检查 Windows 上如何匹配原始按键事件和修饰键标志。添加等效的 Ctrl+Backspace 行为,然后验证它会删除 Windows CLI 提示符中的上一个单词,同时保留现有的 Alt+Backspace 行为。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-cli 的其他 Issue
-
triage
难度 2/5 1-3 小时 新手友好度 75/100
github/copilot-cli#4932 ·
-
triage
难度 2/5 1-3 小时 新手友好度 78/100
github/copilot-cli#4909 ·
-
triage
难度 2/5 1-3 小时 新手友好度 76/100
github/copilot-cli#4906 ·
-
triage
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4848 ·
-
area:agents area:mcp
难度 2/5 1-3 小时 新手友好度 72/100
github/copilot-cli#4729 ·
查看 github/copilot-cli 的全部 Issue
相似的 Issue
-
good-start
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 70/100
-
难度 2/5 1-3 小时 新手友好度 75/100
VilnaCRM-Org/user-service#497 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
conda-forge/spacy-feedstock#177 ·
-
area:jail bug security severity:low track:open-source
难度 1/5 1 小时以内 新手友好度 75/100