cannot copy (/copy) to clipboard
- Lenguaje dominante
- Shell
- Estrellas
- 11.2k
- Forks
- 1.9k
- Merge medio
- 14 h 16 min
- PR fusionados (30 d)
- 6
Descripción
### 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
Guía de contribución
Línea de trabajo
Comienza localizando el punto de entrada del comando slash `/copy` y la integración con el portapapeles; después, reproduce el fallo en WSL Ubuntu con WezTerm y zsh. Compáralo con el caso funcional de Windows PowerShell y verifica que copiar el último mensaje del asistente se realiza correctamente sin el error del protocolo Wayland.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- shell, ubuntu
- Área
- cli, operating-systems
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100