[BUG] Copying text (Ctrl+C) from Claude Code window in VS Code fails
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?
While using Claude Code in VS Code, copying text (Ctrl+C) from a Claude Code window in VS Code no longer works. Right-click > Copy copies no text to the clipboard. This is true in the main window and the prompt textbox. I can type a prompt but I cannot copy (or cut) the text I have typed.
Attempted focus changes, starting a new Claude Code session, etc, do not help. Ctrl+V (Paste) works correctly.
Restarting VS Code resolved the problem (for now), but this was highly disruptive in the middle of a complex session.
VS Code v1.114.0
OS: Windows_NT x64 10.0.19045 (Windows 10 Pro)
What Should Happen?
Ctrl+C (and context menu equivalent) should work correctly from the main Claude Code window and the prompt textbox. Ctrl+X and Ctrl+P should also work in the prompt textbox.
Error Messages/Logs
Steps to Reproduce
No reliable reproduction steps known. Restarting VS Code resolved the problem, but this was highly disruptive.
Claude Model
Not sure / Multiple models
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.92
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 14 comments on GitHub. Read the full discussion on GitHub ↗