github / github/copilot-cli

Shift+Enter currently submits the prompt instead of inserting a new line

Đang mở
#2,776 6 bình luận 3 reaction 0 người được giao Xem trên GitHub
area:input-keyboard
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

Not sure whether this is intended behavior or a feature gap, but it would be helpful if Shift+Enter inserted a new line instead of submitting the prompt to the agent.
Currently, if I press Shift+Enter while still composing a prompt, the agent immediately starts processing an unfinished input. This is frustrating, as it often forces me to cancel and re-enter the full prompt.

### Affected version

GitHub Copilot CLI 1.0.31

### Steps to reproduce the behavior

_No response_

### Expected behavior

Shift+Enter should create a new line while composing a prompt.

### Additional context

_No response_

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu. Bắt đầu bằng cách chạy GitHub Copilot CLI 1.0.31 và lần theo các điểm vào của phần nhập prompt và xử lý phím đối với Shift+Enter; được xem là hoàn tất khi thao tác này chèn một dòng mới trong lúc đang soạn thảo thay vì gửi prompt, mà không thay đổi hành vi Enter thông thường.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.