claude-code - 💡(How to fix) Fix [Bug] Right-click paste duplicates text in WSL 2 terminal since v2.1.143

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

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.

Root Cause

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.

Fix Action

Fix / Workaround

Workaround is Ctrl + V, but right-click paste is frequent enough that this is disruptive.

Code Example

[]
RAW_BUFFERClick to expand / collapse

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

[]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Bug] Right-click paste duplicates text in WSL 2 terminal since v2.1.143