github / github/copilot-cli

Ctrl+E during a question expands text; expected to move to end-of-line

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

When Copilot is doing `ask_question` and I'm providing an answer, if I type Ctrl+E then some text above the question becomes expanded. I would have expected Ctrl+E to move to the end of the line, as it normally does.

### Affected version

GitHub Copilot CLI 1.0.11.

### Steps to reproduce the behavior

Precondition: there are some large outputs earlier in the session.
Prompt copilot: `ask me what my favourite colour is?`
Start typing an answer.
Use Ctrl+A to move cursor to the start of the line: works.
Use Ctrl+E to move cursor to the end of the line: fails: it expands the large outputs

### Expected behavior

I expect the cursor to move to the end of the line

### Additional context

Windows, terminal shell, copilot started from cmd.exe

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

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

Hướng nghiên cứu

Reproduce the issue in GitHub Copilot CLI 1.0.11 on Windows from cmd.exe, using ask_question after producing large earlier outputs. Start by tracing the question input handling and Ctrl-key mapping; done means Ctrl+E moves the cursor to the end of the answer line without expanding earlier output.

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
Lỗi
Độ 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
68/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.