[BUG] "paste" keys are not working in Windows Command CLI
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I run claude.exe out of a Windows Command CLI (cmd.exe), I cannot use any of the shortcut keys (<ctrl>+<V>, <shift>+<insert>, <alt>+<V>, <shift>+<V>, etc.) to paste clipboard contents into the Claude CLI. Only right-clicking works.
Also, the Windows shortcut key of <Alt>+<Space> to open the windows control box menu (Restore, Minimize, Maximize, Close, Size, etc.) does not work while in the claude CLI.
If I exit the claude CLI back to the cmd.exe CLI, all the shortcut keys work as expected.
Environment:
- OS: Windows 11 Enterprise
- chcp: Active code page: 437 (Claude recommended I include this in the bug report)
- Windows CLI: ~\Windows\System32\cmd.exe, product version 10.0.22621.6133
- Windows CLI Settings:
<img width="390" height="491" alt="Image" src="https://github.com/user-attachments/assets/3ad30129-2646-4171-a453-4dd25cb7bda7" />
- Claude settings:
- $user/.claude/keybindings.json does not exist
- version: 2.1.47 (Claude Code)
What Should Happen?
The clipboard contents should paste into the claude CLI
Error Messages/Logs
None
Steps to Reproduce
- Run cmd.exe
- Set the Terminal properties as show in the screen shot of the properties window
- Load up the clipboard with some text
- Change directories to a folder /init has been run
- Run claude.exe
- Type <Ctrl>+<V> or <Shift>+<Insert>to paste the clipboard contents - nothing happens
- Right-click anywhere within the cmd.exe window - test is pasted
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.47 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗