cannot copy (/copy) to clipboard
- 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
Cannot copy to clipboard via `/copy` slash command
gets error:
`Failed to copy to clipboard: Error: Failed to set text: Failed to write clipboard content: A required Wayland protocol (ext-data-control, or wlr-data-control version 1) is not supported by the compositor`
- Operating System: Windows OS (though am running through WSL Ubuntu)
- Terminal emulator: WezTerm
- Shell: zsh
### Affected version
1.0.66
### Steps to reproduce the behavior
1. Open copilot cli, send simply message
2. attempt to `/copy` last assistant message, gets error (Failed to copy to clipboard: Error: Failed to set text: Failed to write clipboard content: A required Wayland protocol (ext-data-control, or wlr-data-control version 1) is not supported by the compositor)
### Expected behavior
copy command should work successfully on all various platform surfaces
(tested in Windows OS normal Powershell7 terminal, and works there on same machine)
### Additional context
- Operating System: Windows OS (though am running through WSL Ubuntu)
- Terminal emulator: WezTerm
- Shell: zsh
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xác định điểm vào của slash-command `/copy` và phần tích hợp clipboard, sau đó tái hiện lỗi trong WSL Ubuntu với WezTerm và zsh. So sánh với trường hợp Windows PowerShell hoạt động bình thường và xác minh rằng việc sao chép tin nhắn cuối cùng của assistant thành công mà không gặp lỗi giao thức Wayland.
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, ubuntu
- Lĩnh vực
- cli, operating-systems
- 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
- 55/100