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

未關閉
#3,760 2 則留言 13 個 reaction 已指派 0 人 在 GitHub 檢視
area:input-keyboard area:platform-windows
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
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

貢獻指南

開啟貢獻指南

研究方向

首先,在命令執行時,分別在 Windows PowerShell 和 Windows Terminal 中重現 Copilot CLI 的提示行為。追蹤 CLI 提示對 Ctrl+Enter 和 Ctrl+Q 的鍵盤處理,然後確認顯示的快捷鍵是否與實際將命令加入佇列的按鍵一致,並確認換行仍能如預期運作。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
powershell, shell
領域
cli
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
56/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。