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

Ouverte
#3,760 2 commentaires 13 réactions 0 personnes assignées Voir sur GitHub
area:input-keyboard area:platform-windows
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par reproduire le comportement de l’invite dans Copilot CLI sous Windows PowerShell et Windows Terminal pendant l’exécution d’une commande. Suivez la gestion du clavier de l’invite CLI pour Ctrl+Enter et Ctrl+Q, puis vérifiez que le raccourci affiché correspond bien à la touche qui met effectivement la commande en file d’attente et que les sauts de ligne fonctionnent toujours comme prévu.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
powershell, shell
Domaine
cli
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Active
Clarté
Plutôt claire
Accessibilité débutants
56/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.