github / github/copilot-cli

Copilot CLI remote SSH session reports “Copied” but clipboard remains empty on macOS

Abierto
#4,551 2 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

triage
Lenguaje dominante
Shell
Estrellas
11.2k
Forks
1.9k
Merge medio
14 h 16 min
PR fusionados (30 d)
6

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Empieza reproduciendo el flujo de copia en Copilot CLI 1.0.80 desde macOS Terminal.app mediante SSH a Ubuntu 24.04.4. Rastrea cómo la CLI gestiona la selección del terminal y la notificación del portapapeles en una sesión remota y, después, verifica que el texto copiado esté disponible en una aplicación local de macOS mientras las sesiones locales siguen funcionando.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
linux, macos, shell
Área
cli, networking, operating-systems
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.