Unable to select multiple response lines and copy response text when Copilot CLI is moved to a new window in VS Code
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### 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_
贡献指南
调研方向
在 Terminal 中启动 GHCP CLI,将其移到一个新的 VS Code 窗口中,并触发多行响应,以重现选择和复制失败。从这里开始跟踪新窗口处理和文本选择的入口点;当使用鼠标、触控板、Command+C 和上下文菜单进行复制时,其行为与移动之前相同,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- macos, shell, vscode
- 领域
- cli, desktop
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100