Ctrl+V paste does not work in cmd.exe / PowerShell console (right-click paste works fine)
Open 💬 0 comments Opened Jul 1, 2026 by SONEUNJI-JANE
Environment
- OS: Windows 11 Pro for Workstations 10.0.26200
- Claude Code version: 2.1.197
- Node.js version: v24.14.1
- Terminal: Windows console host (conhost) running cmd.exe and PowerShell — not Windows Terminal app (no
settings.jsonfound for Windows Terminal) - Console mode:
ForceV2=1(not legacy console),QuickEdit=1
Bug description
When running claude in either cmd.exe or PowerShell (via the classic Windows console host), pressing Ctrl+V to paste text into the prompt does nothing — no characters are inserted, no error shown.
Steps to reproduce
- Open cmd.exe or PowerShell (classic console, not Windows Terminal).
- Copy some text to the clipboard.
- Run
claude. - Click into the input prompt and press
Ctrl+V. - Nothing is pasted.
Expected behavior
Ctrl+V should paste clipboard contents into the input prompt, consistent with standard Windows console behavior.
Actual behavior
Ctrl+V is silently ignored. Right-click paste (via QuickEdit mode) works correctly and pastes clipboard contents as expected, indicating the clipboard/console handling itself is fine — only the app's own Ctrl+V key handling seems to not register.
Additional notes
- This reproduces in both cmd.exe and PowerShell consoles.
- Right-click paste is a working workaround.
- Suspected cause: Claude Code's TUI likely puts stdin into raw mode, which may bypass the console host's native Ctrl+V paste interception, and the app doesn't appear to handle the raw Ctrl+V key event itself.