claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

Cmd+V paste broken in iTerm2 on 2.1.0

Open marcbowes opened this issue 1 month ago • 5 comments

Description

After updating to 2.1.0, paste keyboard shortcuts no longer work in iTerm2 on macOS.

Behavior

  • Cmd+V: Inserts literal 'v' instead of pasting
  • Ctrl+V: Does not work
  • Alt+V: Does not work
  • Right-click paste: Works correctly

Environment

  • Claude Code version: 2.1.0
  • Terminal: iTerm2
  • OS: macOS

Workaround

Downgrading to 2.0.76 resolves the issue.

Likely Cause

This appears to be a regression from the 2.1.0 change: "Added Cmd+V support for image paste in iTerm2 (maps to Ctrl+V)"

marcbowes avatar Jan 08 '26 01:01 marcbowes

Does not work with Terminal or PowerShell on Windows either, cannot paste.

MertKarakayaPhD avatar Jan 08 '26 02:01 MertKarakayaPhD

2.1.1 too on WSL2 Ubuntu on Windows Terminal

gentksb avatar Jan 08 '26 02:01 gentksb

Same issue here on macOS with Russian keyboard layout (Ghostty terminal).

Both Ctrl+V (image paste) and Ctrl+C (abort/interrupt) don't work when the Russian layout is active (worked fine in 2.0.x).

Since the input layer sees Cyrillic 'м'/'с' instead of Latin 'v'/'c', the shortcuts are not recognized.

Version: 2.1.1 Downgrading to 2.0.76 confirms this is a 2.1.x regression.

kuzmeech avatar Jan 08 '26 19:01 kuzmeech

I think it's something to do with Cmd specifically because other iTerm2 features like splits (which are bound to Cmd by default) also don't work anymore for me, unless I use the mouse.

marcbowes avatar Jan 10 '26 01:01 marcbowes