github / github/copilot-cli

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

Open
#4,198 0 comments 0 reactions 0 assignees View on GitHub
area:input-keyboard
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### 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

Contributor guide

Open the contributing guide

Research direction

Start at the ask_user prompt input handling and compare its Ctrl+G behavior with the main input box path described in the issue. Reproduce on macOS with NeoVim as $EDITOR; done means Ctrl+G opens the editor for a response instead of marking the question as skipped.

Written by the indexing model from the issue text.

Assessment

Tech stack
neovim, shell
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.