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
- Copy any text to clipboard
- Open Claude Code (
claude) - Right-click in the input area
- Expected: terminal context menu appears with Paste option
- 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+Valso works for text pasteCtrl+Vshows "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
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗