CLI shows "ctrl+enter enqueue" but "ctrl+enter" adds a line break to the prompt and "ctrl+q" is the enqueue command
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
### 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
コントリビューションガイド
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- powershell, shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 56/100