Clipboard access doesn't work in vscode -> terminal (WSL) -> screen/tmux
未关闭
area:terminal-rendering
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
When running the Copilot CLI from withing a tmux/screen in WSL2 in a terminal in VS Code, copying text to the clipboard doesn't work. When running the the CLI in the WSL2 terminal in VS Code (i.e. not in tmux/screen), copying does work well.
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
Windows 11, VS Code 1.126.0, WSL2 (Ubuntu 24.04), built-in VS Code terminal, bash, tmux 3.4, screen 4.09.01.
贡献指南
调研方向
首先,在所述的 VS Code 1.126.0、WSL2 Ubuntu 24.04、bash、tmux 3.4 和 screen 4.09.01 环境中复现该问题,并比较直接使用终端与使用 tmux 和 screen 的情况。跟踪 CLI 的剪贴板路径以及终端多路复用器的行为。当复制在 tmux 和 screen 中都能一致地工作,或者限制已被明确识别并记录时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- bash, shell, ubuntu, vscode
- 领域
- cli, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 需要澄清
- 新手友好度
- 42/100