Paste (right-click / Ctrl+Shift+V) broken in WezTerm on WSL2 — regression from older versions

Status Closed — duplicate
Reported on v2.1.195
Maintainer reply None cached
Activity 2 comments · opened Jun 29, 2026 · closed Jul 3, 2026

Description

In Claude Code v2.1.195, pasting text into the chat input box is completely broken when using WezTerm on WSL2. Both mouse-based paste (right-click) and keyboard paste (Ctrl+Shift+V) are non-functional. This worked correctly in older versions of Claude Code.

Environment

  • Claude Code version: 2.1.195
  • Terminal: WezTerm (Windows app connecting to WSL2)
  • OS: WSL2 (Linux 6.6.87.2-microsoft-standard-WSL2)

Steps to Reproduce

  1. Open Claude Code in WezTerm on WSL2
  2. Copy any text to clipboard
  3. Try to paste with right-click or Ctrl+Shift+V in the chat input box

Expected Behavior

Pasted text appears in the chat input box (as it did in older Claude Code versions).

Actual Behavior

Nothing happens. Neither right-click paste nor Ctrl+Shift+V inserts any text into the input box.

Investigation

  • Left-click text selection + copy works fine (WezTerm handles this at the terminal emulator level)
  • The issue affects both mouse-based paste and keyboard paste, suggesting Claude Code is not correctly processing paste input received via PTY
  • WezTerm mouse bindings (including SHIFT modifier to bypass mouse reporting) have no effect
  • This is a regression — older Claude Code versions handled paste correctly in the same environment
  • The chat:imagePaste action bound to ctrl+v in keybindings.json may be related, as it intercepts the standard paste shortcut

Workaround

Use Ctrl+G to open an external editor, paste there, then save to return content to the input box.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗