[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
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

  1. Copy any text.
  2. In Claude Code running in VS Code's integrated terminal (WSL), right-click to paste.
  3. 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

[]

View original on GitHub ↗

6 Comments

github-actions[bot] · 3 months ago

Found 1 possible duplicate issue:

  1. https://github.com/anthropics/claude-code/issues/53241

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

jonathan-reid · 3 months ago

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

  • Windows 11 Pro, WSL 2 (Ubuntu 24.04.4 LTS, kernel 6.6.87.2-microsoft-standard-WSL2)
  • Terminal: Tabby 1.0.234
  • Claude Code v2.1.148 (regression introduced in v2.1.143 per the original report; v2.1.142 and earlier were fine)

Repro

  1. Copy any text.
  2. In Claude Code running inside Tabby, right-click to paste.
  3. Text is pasted twice.

Notes

  • Ctrl+V / Ctrl+Shift+V paste correctly (once).
  • Reproduces in both Tabby and the VS Code integrated terminal under WSL 2.
  • Right-click paste works correctly in Windows Terminal (WSL).
  • Workaround is keyboard paste, but right-click paste is frequent enough to be disruptive.
theyv · 3 months ago

+1 for WSL & CC

devdev999 · 3 months ago

still happening as of 2.1.150

xccxcs · 3 months ago

Yes, I also encountered it. Version number: v2.1.150

github-actions[bot] · 1 month ago

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.