Unable to select multiple response lines and copy response text when Copilot CLI is moved to a new window in VS Code
- 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
In VS Code on Mac, when I move GHCP CLI to a new window, I'm
- Unable to select multiple lines of response text either through mouse or mac track pad (3-finger drag and select)
- Copy keyboard shortcut doesn't work when a single line is selected through double clicking
- When a single line is selected through double clicking, right click mouse to copy deselects the line and instead, it selects the word where the mouse is at.
### Affected version
GitHub Copilot CLI 1.0.57-3
VS Code:
Version: 1.122.1 (Universal)
Commit: 8761a5560cfd65fdd19ce7e2bd18dab5c0a4d84e
Date: 2026-05-29T09:25:37+02:00
Electron: 39.8.8
ElectronBuildId: 13870025
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Darwin arm64 24.6.0
### Steps to reproduce the behavior
- Start GHCP CLI in Terminal
- Move it into a new window
- Type anything to trigger a multi-line response
- Select multiple response lines with mouse or mac trackpad with 3-finger drag-n-select gesture. Notice it won't be able to select
- Double click on a response line to select the whole line. Use Command + C to copy. Notice nothing is copied out.
- Double click on a response line to select the whole line. Use mouse right click to copy. Notice the line gets deselected, and the word where the mouse is at gets selected instead
### Expected behavior
Copy paste works fine when GHCP CLI is not in a new window. Copy paste should also work when it's in a new window
### Additional context
_No response_
Guía de contribución
Línea de trabajo
Reproduce los fallos de selección y copia iniciando GHCP CLI en Terminal, moviéndolo a una ventana nueva de VS Code y activando una respuesta multilínea. Desde ahí, rastrea los puntos de entrada de la gestión de ventanas nuevas y de la selección de texto; estará terminado cuando la copia con el ratón, el trackpad, Command+C y el menú contextual funcione igual que antes del movimiento.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- macos, shell, vscode
- Área
- cli, desktop
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100