Clipboard copy broken while Copilot CLI is running (Windows)
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
## Bug Report
### Summary
While the GitHub Copilot CLI app is running, clipboard copy stops working entirely in that process. Selecting text and using right-click copy or Ctrl+C shows a 'copied to clipboard' confirmation, but nothing is actually written to the Windows clipboard — paste returns the previous clipboard content instead.
Clipboard functionality restores immediately upon exiting the CLI with \/exit\.
### Steps to Reproduce
1. Launch GitHub Copilot CLI on Windows
2. Select any text in the session output
3. Right-click → Copy (or Ctrl+C) — shows 'copied to clipboard'
4. Switch to any other app and paste
5. Previous clipboard content is pasted instead of the selected text
Also reproducible via:
\\\powershell
echo 'test' | clip
\\\
Run inside the CLI process — \Get-Clipboard\ reads it back fine within the same process, but the clipboard is not accessible from other applications.
### Expected Behavior
Selected text is copied to the Windows system clipboard and can be pasted in other apps.
### Actual Behavior
'Copied to clipboard' confirmation displays but clipboard is not updated. Previous clipboard content persists.
### Environment
- OS: Windows
- Copilot CLI version: 1.0.66
- RDP (Windows App) was connected at time of discovery but issue persists after disconnecting
### Workaround
Exit the CLI with \/exit\ — clipboard works again immediately in PowerShell.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Aucun fichier, test ou point d’entrée n’est indiqué. Reproduisez d’abord l’échec sous Windows en exécutant la CLI et la commande PowerShell fournie pour le presse-papiers, puis suivez la manière dont la CLI interagit avec le presse-papiers du système. Le travail est considéré comme terminé lorsque le texte copié depuis la CLI est disponible pour les autres applications pendant que la CLI continue de s’exécuter, sans régression du contournement documenté.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- powershell, shell
- Domaine
- cli, operating-systems
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Calme
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100