Copilot CLI remote SSH session reports “Copied” but clipboard remains empty on macOS
Personne n'a encore pris cette issue.
- Langage dominant
- Shell
- Étoiles
- 11.2k
- Forks
- 1.9k
- Merge moyen
- 14 h 16 min
- PR mergées (30 j)
- 6
Description
Describe the bug
Summary
When using Copilot CLI on a remote Linux machine over SSH from macOS Terminal, copy actions report success ("Copied to clipboard") but the selected text is not actually placed into the macOS clipboard.
Environment
Local OS: macOS (Apple Terminal)
Terminal: Terminal.app Version 2.15 (470.2)
Connection: ssh -p <port> <host>
Remote OS: Ubuntu 24.04.4 LTS
Copilot CLI version: 1.0.80
Steps to Reproduce
From macOS Terminal.app, connect to a remote Ubuntu machine via SSH:
ssh -p <port> <host>
Run Copilot CLI on the remote machine.
Generate output in the CLI and select part of the text in the terminal.
Try to copy the selected text (right-click copy or Ctrl+C in the terminal context).
Observe that Copilot CLI shows a "Copied" confirmation message.
Paste into another app on macOS (e.g., Notes/TextEdit).
Expected Behavior
Selected text should be copied to the macOS system clipboard and be available for paste in other local apps.
Actual Behavior
Copilot CLI shows a "Copied" confirmation, but the text is not present in the macOS clipboard.
Additional Notes
Reproducible every time.
Also reproducible on machines other than mine.
This does not happen when Copilot is used locally (without SSH / without remote host).
Affected version
GitHub Copilot CLI 1.0.80
Steps to reproduce the behavior
No response
Expected behavior
No response
Additional context
No response
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Piste de recherche
Commencez par reproduire le flux de copie dans Copilot CLI 1.0.80 depuis macOS Terminal.app via SSH vers Ubuntu 24.04.4. Suivez la manière dont la CLI gère la sélection du terminal et la notification du presse-papiers dans une session distante, puis vérifiez que le texte copié est disponible dans une application macOS locale tandis que les sessions locales continuent de fonctionner.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- linux, macos, shell
- Domaine
- cli, networking, operating-systems
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100