Ctrl+G fails to open $EDITOR during ask_user (clarifying question) prompts
オープン
まだ誰も着手していません。
area:input-keyboard
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 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
- Have Copilot CLI ask a clarifying question (e.g., via ask_user ).
- While the question prompt is active, press Ctrl+G.
- 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
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
ask_user プロンプトの入力処理から始め、Ctrl+G の動作を、issue に記載されているメイン入力ボックスの経路と比較してください。$EDITOR に NeoVim を設定した macOS で再現してください。Ctrl+G によって質問がスキップ済みとしてマークされるのではなく、回答用のエディタが開けば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- neovim, shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 65/100