[BUG] Shift-Enter in Claude Code in VS Code freezes heyboard
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?
I use Claude Code in VS Code. When entering instructions in "Ask Claude" I often need a line break to give bullet-like instruction. For this I am using Shift-Enter like in ChatGPT chats. However this disturb my keyboard next to freezing it. Mouse is unaffected. The keyboard disturbance extends to everything else on my Win 11 PC. Win-keyboard is Danish. The problem can only be mediated by rebooting the PC (and loosing everything, if so)
What Should Happen?
New line should come
Error Messages/Logs
Frozen keyboard, not frozen mouse
Steps to Reproduce
Write anything in Claude Code. Then press Shift+Enter
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
No response
Claude Code Version
2.0.28
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
I use Win11 as a terminal, but SSH attached to Ubuntu. So Claude actually works on Ubuntu
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/9929
- https://github.com/anthropics/claude-code/issues/6796
- https://github.com/anthropics/claude-code/issues/8020
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
#2 is unrelated, but #1 and #3 probably are connected. However, My message is about inline-use of Shift-Enter in the prompt and about the problem as a serious violation of what is common use of Shift-Enter in ChatGPT prompts. Therefore many users may run into the problem.
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.