CLI shows "ctrl+enter enqueue" but "ctrl+enter" adds a line break to the prompt and "ctrl+q" is the enqueue command
- Ngôn ngữ chính
- Shell
- Star
- 11.2k
- Fork
- 1.9k
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 6
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- powershell, shell
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 56/100