CLI shows "ctrl+enter enqueue" but "ctrl+enter" adds a line break to the prompt and "ctrl+q" is the enqueue command
- Vorherrschende Sprache
- Shell
- Sterne
- 11.2k
- Forks
- 1.9k
- Ø Merge
- 14 Std. 16 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
### 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
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Verhalten der Eingabeaufforderung in Copilot CLI unter Windows PowerShell und Windows Terminal zu reproduzieren, während ein Befehl ausgeführt wird. Verfolge die Tastaturbehandlung der CLI-Eingabeaufforderung für Ctrl+Enter und Ctrl+Q. Überprüfe anschließend, dass das angezeigte Tastenkürzel mit der Taste übereinstimmt, die den Befehl tatsächlich in die Warteschlange einreiht, und dass Zeilenumbrüche weiterhin wie vorgesehen funktionieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell, shell
- Bereich
- cli
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Aktiv
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 56/100