cannot copy (/copy) to clipboard
- Linguagem predominante
- Shell
- Estrelas
- 11.2k
- Forks
- 1.9k
- Merge médio
- 14h 16min
- PRs com merge (30d)
- 6
Descrição
### 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
Guia de contribuição
Direção de pesquisa
Comece localizando o ponto de entrada do comando slash `/copy` e a integração com a área de transferência; em seguida, reproduza a falha no WSL Ubuntu com WezTerm e zsh. Compare-a com o caso funcional do Windows PowerShell e verifique se a cópia da última mensagem do assistente é bem-sucedida sem o erro do protocolo Wayland.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- shell, ubuntu
- Domínio
- cli, operating-systems
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 55/100