Hasty Briefsbeta

Bilingual

Why Ctrl+V won't paste images in Claude Code on WSL, with a fix

2 days ago
  • #WSL
  • #Windows Terminal
  • #Clipboard
  • WSLg only transfers images from Windows to Linux in an old BMP format that Claude Code cannot read.
  • WSLg silently overwrites any manual PNG clipboard entries on Linux with the broken BMP.
  • Windows Terminal intercepts Ctrl+V for pasting text, preventing it from reaching Claude Code for image pastes.
  • A workaround involves a Windows program converting images to PNG, a Linux script managing clipboard, and an Alt+V keybinding.
  • Upstream fixes are needed from Microsoft for WSLg and Windows Terminal, and from Claude Code for BMP support.