[BUG] When using pwsh to open claude code in Windows Terminal, Shift + Enter cannot be used to insert a newline. It is incorrectly recognized as Enter, sending the information out
Resolved 💬 3 comments Opened Mar 29, 2026 by leisure462 Closed Apr 1, 2026
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 using pwsh to open claude code in Windows Terminal, Shift + Enter cannot be used to insert a newline. It is incorrectly recognized as Enter, sending the information out
What Should Happen?
When using pwsh to open claude code in Windows Terminal, Shift + Enter cannot be used to insert a newline. It is incorrectly recognized as Enter, sending the information out
Error Messages/Logs
Steps to Reproduce
When using pwsh to open claude code in Windows Terminal, Shift + Enter cannot be used to insert a newline. It is incorrectly recognized as Enter, sending the information out
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
v2.1.86
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗