github / github/copilot-cli

cannot copy (/copy) to clipboard

Offen
#3,985 0 Kommentare 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:platform-linux
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, den Einstiegspunkt des Slash-Commands `/copy` und die Zwischenablage-Integration zu lokalisieren. Reproduziere anschließend den Fehler in WSL Ubuntu mit WezTerm und zsh. Vergleiche dies mit dem funktionierenden Fall unter Windows PowerShell und überprüfe, dass das Kopieren der letzten Assistant-Nachricht ohne den Wayland-Protokollfehler erfolgreich ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
shell, ubuntu
Bereich
cli, operating-systems
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.