Right-click paste broken since ~2.1.167: mouse reporting captures right-click, requires Shift+right-click workaround

Open 💬 8 comments Opened Jun 7, 2026 by mjzoran

Description

Right-click paste (terminal context menu) stopped working in the Claude Code input window around version 2.1.167/2.1.168. Previously worked without issue.

Claude Code appears to enable terminal mouse reporting mode, which intercepts right-click events and prevents the terminal emulator from showing its native context menu. The workaround is to hold Shift while right-clicking, which bypasses mouse capture and restores the context menu.

Steps to reproduce

  1. Copy any text to clipboard
  2. Open Claude Code (claude)
  3. Right-click in the input area
  4. Expected: terminal context menu appears with Paste option
  5. Actual: no context menu appears; mouse event is consumed by Claude Code

Workaround

Shift + right-click still produces the terminal context menu and paste works normally.

Environment

  • Claude Code version: 2.1.168
  • OS: Linux (Ubuntu/Debian)
  • Terminal: VTE-based (VTE_VERSION=6800, e.g. GNOME Terminal / Tilix)
  • TERM: xterm-256color
  • COLORTERM: truecolor

Additional context

  • Ctrl+Shift+V also works for text paste
  • Ctrl+V shows "no image found" (understood to be intentional per v2.1.162 changelog)
  • Changelogs for 2.1.167 and 2.1.168 both list only "Bug fixes and reliability improvements" with no detail, so the root cause is unclear

View original on GitHub ↗

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