pasting issue
Chưa có ai nhận issue này.
- 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
Bug: Pasted multi-line content not sent to model
Environment: WezTerm (Ctrl+V → PasteFrom "Clipboard" ) on Windows, running Copilot CLI inside WSL (zsh). CLI version 1.0.80.
Expected: The full pasted content (12 lines) is sent to the model as part of the message.
Actual: The model responds as if no content was received — e.g., "I don't see the pasted content — it looks like it didn't come through." The paste token is not being expanded/substituted with the real content before the request is sent.
Notes: Terminal/paste mechanism itself works correctly (bracketed paste, WezTerm config verified clean) — this appears to be a CLI-side bug in how paste tokens are resolved before submission.
Affected version
GitHub Copilot CLI 1.0.80.
Steps to reproduce the behavior
Steps to reproduce:
in wezterm using wsl,
- Copy multi-line text (e.g., 12 lines) to clipboard.
- Prompt correctly shows a collapsed token: [Paste #1 - 12 lines] .
- Press Enter to submit.
Expected behavior
No response
Additional context
No response
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Tái hiện trong WezTerm trên Windows với Copilot CLI bên trong WSL bằng zsh, sao chép 12 dòng và gửi token [Paste #1] đã thu gọn. Vì không có tệp nguồn hoặc bài kiểm thử nào được nêu tên, hãy lần theo quá trình xử lý token dán từ lúc gửi prompt đến request tới model. Được xem là hoàn tất khi toàn bộ nội dung đã dán được bao gồm trong tin nhắn đã gửi.
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
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 55/100