Skip to content

fix(tui): Alt+V and an empty paste attach the clipboard image - #412

Merged
mrnasil merged 1 commit into
mainfrom
fix/tui-image-paste-alt-v
Nov 4, 2026
Merged

mrnasil merged 1 commit into
mainfrom
fix/tui-image-paste-alt-v

Conversation

@mrnasil

@mrnasil mrnasil commented Nov 4, 2026

Copy link
Copy Markdown
Member

Windows Terminal (and multiplexers) bind Ctrl+V to their own paste action. With only a bitmap on the clipboard they paste nothing and never forward Ctrl+V, so the screenshot never reached the prompt.

  • Alt+V now runs the same clipboard-image read as Ctrl+V.
  • An empty bracketed paste falls back to that read.
  • Help overlay and docs/tui-term-matrix.md row 8b mention Alt+V.

Verified in a real ConPTY: a bitmap on the clipboard + Alt+V attaches the chip.

🤖 Generated with Claude Code

Windows Terminal and other hosts bind Ctrl+V to their own paste. When the
clipboard holds only a bitmap they paste nothing and never forward the key,
so the image read never ran. Alt+V now triggers the same read, and an empty
bracketed paste falls back to it.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@mrnasil
mrnasil merged commit 03bb7fe into main Nov 4, 2026
7 checks passed
@mrnasil
mrnasil deleted the fix/tui-image-paste-alt-v branch November 4, 2026 23:14
@mrnasil mrnasil mentioned this pull request Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant