[Bug] Right-click paste duplicates text in WSL 2 terminal since v2.1.143
Status Fixed / completed
Reported on v2.1.146
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 6 comments · opened May 21, 2026 · closed May 28, 2026
Description
Since v2.1.143, right-clicking to paste in Claude Code always pastes the clipboard content twice. The regression persists in the latest release (v2.1.146). Ctrl+V continues to paste correctly as a single insertion, so the duplication is specific to the right-click paste path.
Environment
- Windows 11, WSL 2, VS Code integrated terminal
- Claude Code v2.1.146 (broke in v2.1.143; v2.1.142 and earlier were fine)
Repro
- Copy any text.
- In Claude Code running in VS Code's integrated terminal (WSL), right-click to paste.
- Text is pasted twice.
Notes
- Ctrl + V pastes correctly (once).
- Right-click paste works correctly in Windows Terminal (WSL).
- Issue is specific to right-click paste in VS Code's integrated terminal.
Workaround is Ctrl + V, but right-click paste is frequent enough that this is disruptive.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 2.1.146
- Feedback ID: 3f5ca850-995a-4380-af47-df69cd03408a
Errors
[]
6 Comments
Found 1 possible duplicate issue:
This issue will be automatically closed as a duplicate in 3 days.
🤖 Generated with Claude Code
Confirm this same regression in Tabby (https://github.com/eugeny/tabby), so it is not limited to the VS Code integrated terminal.
Right-clicking to paste in Claude Code inserts the clipboard contents twice. Ctrl+V / Ctrl+Shift+V paste correctly as a single insertion, so the duplication is specific to the right-click paste path, exactly as the original report describes for VS Code.
This broadens the scope: the original is labeled platform:vscode, but the same behavior appears in Tabby while right-click paste still works fine in Windows Terminal (WSL). This points at Claude Code's TUI mouse/bracketed-paste handling under WSL rather than anything specific to the VS Code terminal.
Environment
Repro
Notes
+1 for WSL & CC
still happening as of 2.1.150
Yes, I also encountered it. Version number: v2.1.150
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.