[BUG] Shift + Enter does not return new line in chat prompt entry field
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?
Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously. Short, sweet, reproducible — that's all they need.Something like: Title: Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously.
What Should Happen?
Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously. Short, sweet, reproducible — that's all they need.Something like: Title: Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously.
BEST PRACTICE: Send/Submit button on chat prompt box, allows "Enter" to do what it's supposed to do on a text editor, and that is a char return/new line interaction like in the box this text was made in.
UPSIDE: No more half entries being submitted becuase erroniously becuase I fat-fingered the Enter button.
Error Messages/Logs
Steps to Reproduce
Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously. Short, sweet, reproducible — that's all they need.Something like: Title: Shift+Enter no longer inserts newline in web UI chat input Body: As of ~[date], Shift+Enter submits the message instead of inserting a line break. Chrome, standard keyboard. Was working previously.
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Claude Code version 2.1.38.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Other
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗