[BUG]
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?
Ctrl + V is not pasting in Claude Code although it works in PowerShell, which is the application Code is running inside.
User answered Claude's questions:
⎿ · When you run Claude Code, what environment starts up - is it a Git Bash window or still PowerShell/CMD? → Stays in PowerShell/CMD
· Does regular paste (Ctrl+V) work in your terminal when NOT in Claude Code's interactive mode? → Yes, paste works normally
● Okay, I've identified the issue:
The problem: You're running Claude Code in PowerShell/CMD, and paste works fine in your terminal normally, but NOT when you're in Claude Code's interactive mode. This is a bug in Claude Code - it's not properly capturing paste events in your terminal environment.
Immediate workarounds:
- Try right-click paste: Can you paste by right-clicking in the Claude Code window?
- Switch to Git Bash: Try running Claude Code from Git Bash instead of PowerShell/CMD:
- Open Git Bash
- Navigate to your project directory
- Run claude-code there
- Test if paste works in that environment
- Try Windows Terminal: If you have Windows Terminal installed, Claude Code might handle keyboard events better there:
wt -p "Git Bash" -d C:\Users\antho\OneDrive\Desktop\LevelUp
- Then run claude-code in that Git Bash session.
This needs to be reported:
This is a legitimate bug - Claude Code should handle paste in PowerShell/CMD since it can run there. You should report this issue:
File a bug report: https://github.com/anthropics/claude-code/issues
Include:
- OS: Windows
- Terminal: PowerShell/Command Prompt
- Issue: Paste (Ctrl+V, Alt+V) not working in Claude Code interactive mode
- Paste works normally in terminal outside Claude Code
What Should Happen?
It should paste the content
Error Messages/Logs
Nothing happens
Steps to Reproduce
Ctrl + V on a keyboard that is not running PowerToys keyboard manager, but does have Mac keys in the Windows setting. Pasting outside of Claude is successful.
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.3
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗