Clipboard access doesn't work in vscode -> terminal (WSL) -> screen/tmux
- Dominant language
- Shell
- Stars
- 11.2k
- Forks
- 1.9k
- Avg merge
- 14h 16m
- Merged PRs (30d)
- 6
Description
### 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.
Contributor guide
Research direction
Start by reproducing the issue in the stated VS Code 1.126.0, WSL2 Ubuntu 24.04, bash, tmux 3.4, and screen 4.09.01 environment, comparing direct terminal use with tmux and screen. Trace the CLI's clipboard path and the terminal multiplexer behavior. Done means copying works consistently in both tmux and screen, or the limitation is clearly identified and documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- bash, shell, ubuntu, vscode
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100