github / github/copilot-cli

CLI shows "ctrl+enter enqueue" but "ctrl+enter" adds a line break to the prompt and "ctrl+q" is the enqueue command

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

Description

### Describe the bug

https://github.com/user-attachments/assets/7df968c2-5537-4af6-96e2-bcf24f153dbe

The video shows me typing the first line, pressing ctrl + enter which enters a line break, then typing the second line, then pressing ctrl + q which enqueues the command.

### Affected version

GitHub Copilot CLI 1.0.61.

### Steps to reproduce the behavior

1. Run a command in Copilot CLI. While the command is running...
2. Type "first line" -- the instruction "ctrl+enter enqueue" should be shown
3. Press ctrl+enter -- a line break should be added to the prompt line
4. Press ctrl+q -- the prompt should be enqueued

### Expected behavior

Expected ctrl+enter to enqueue the second command

### Additional context

Windows 11 x86_64 powershell windows terminal

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the prompt behavior in Copilot CLI on Windows PowerShell and Windows Terminal while a command is running. Trace the CLI prompt's keyboard handling for Ctrl+Enter and Ctrl+Q, then verify that the displayed shortcut matches the key that actually enqueues the command and that line breaks still work as intended.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.