github / github/copilot-cli

Ctrl+G fails to open $EDITOR during ask_user (clarifying question) prompts

未關閉
#4,198 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard
主要語言
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

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。