github / github/copilot-cli

Right-click paste in "Plan Ready for Review" prompt pastes into previous input instead

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

When in Plan mode, at the "Plan Ready for Review" prompt, pasting text via right-click into the "Suggest changes" input field does not work. The pasted content does not appear in the current input. Instead, after exiting Plan mode, the pasted content appears in the previous input field.

Image

Image

### Affected version

1.0.21

### Steps to reproduce the behavior

1. Start a session in Plan mode using Git Bash
2. Wait until the plan is generated and the "Plan Ready for Review" prompt appears
3. Copy some text to the clipboard
4. Right-click in the "Suggest changes" input field to paste (Git Bash pastes clipboard content on right-click by default)
5. Observe that nothing is pasted into the current input
6. Exit Plan mode
7. Observe that the pasted content now appears in the previous input field

### Expected behavior

Pasted text should be inserted into the currently focused "Suggest changes" input field at the "Plan Ready for Review" prompt.

### Additional context

OS: Windows 11
Terminal: Git Bash (right-click = paste)
Copilot CLI version: (1.0.21)

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

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

Đánh giá

Issue này chưa được đánh giá.

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.