Ctrl+G fails to open $EDITOR during ask_user (clarifying question) prompts
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
When Copilot CLI asks a clarifying question via the ask_user tool (multiple-choice or freeform), pressing Ctrl+G does not open $EDITOR as it normally does in the main input box. Instead, the keypress causes the question to be registered as "skipped."
### Affected version
1.0.71
### Steps to reproduce the behavior
1. Have Copilot CLI ask a clarifying question (e.g., via ask_user ).
2. While the question prompt is active, press Ctrl+G.
3. Observe: editor does not open; the question is immediately marked as skipped.
### Expected behavior
Ctrl+G should open $EDITOR for composing a response to the question, same as it does in the normal chat input box.
### Additional context
OS: macOS (Darwin)
$EDITOR: NeoVim
贡献指南
调研方向
从 ask_user 提示的输入处理入手,将其 Ctrl+G 行为与 issue 中描述的主输入框路径进行比较。在 macOS 上使用 NeoVim 作为 $EDITOR 重现该问题;当 Ctrl+G 打开编辑器以输入回答,而不是将问题标记为已跳过时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- neovim, shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100