cannot copy (/copy) to clipboard
- Lingua principale
- Shell
- Stelle
- 11.2k
- Fork
- 1.9k
- Merge medio
- 14h 16m
- PR unite (30g)
- 6
Descrizione
### 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
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando il punto di ingresso del comando slash `/copy` e l’integrazione con gli appunti, quindi riproduci il problema in WSL Ubuntu con WezTerm e zsh. Confrontalo con il caso funzionante di Windows PowerShell e verifica che la copia dell’ultimo messaggio dell’assistente riesca senza l’errore del protocollo Wayland.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- shell, ubuntu
- Ambito
- cli, operating-systems
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100