Skip to content

Ctrl+V does not paste into Claude Code on Windows; Ctrl+Shift+V pastes twice #453

Closed

Description

@viviliu19951008

Environment

  • wmux 2.61.1 (Electron 43.0.0)
  • Windows 11 Home (10.0.26200)
  • Claude Code 2.1.325 running in a wmux terminal pane
  • No custom wmux config (~/.wmux/config.toml does not exist), no custom Claude Code keybindings

What happens

Action in the Claude Code input box Result
Ctrl+V Nothing is pasted
Right-click Pastes once (correct)
Ctrl+Shift+V Text is pasted twice

Copying text out of wmux works fine. The clipboard contains plain text (formats: UnicodeText / Text), so the clipboard itself is not the problem.

It worked earlier in the same day, then stopped. Restarting the pane and restarting wmux completely did not fix it. Toggling Claude Code's tui: fullscreen setting off made no difference.

Expected
Ctrl+V pastes the clipboard text once, like in Windows Terminal.

Guess
For Ctrl+Shift+V, wmux seems to paste and also forward the key to the app, which pastes again. For Ctrl+V, wmux seems to forward the raw key without pasting, and Claude Code on Windows does not paste text on a raw Ctrl+V.

Activity

  1. amirlehmam commented on Nov 15, 2026

    @amirlehmam
    Owner

    Fixed in 2.62.0. The cause was Caps Lock: the terminal read Shift from the letter's case, so with Caps Lock on Ctrl+V arrived as V and went to Claude Code as a raw ^V (which it ignores on Windows), while Ctrl+Shift+V arrived as v and was pasted by both the Ctrl+V handler and the paste shortcut. Shift is now read from the key's modifier flags. That also explains why it "worked earlier the same day" and survived restarts. Thanks for the detailed report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions