[FEATURE] "Enter Safety" toggle to prevent accidental prompt submission (This is not about bug)
Preflight Checklist
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request (not multiple features)
Problem Statement
When using Claude Code, I occasionally press Enter (Submit) when I actually intended to press Shift + Enter (New Line).
To fix this, I currently have to use /rewind or Esc+Esc to correct the mistake.
Proposed Solution
While this can be avoided with more care, it would be extremely helpful to have an "Enter Safety" toggle that swaps the functions of Enter and Shift + Enter.
Alternative Solutions
_No response_
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
When this mode is enabled:Enter: Moves the cursor to a new line (preventing accidental submission).Shift + Enter: Submits the prompt.
It would be great to see this status indicated in the UI, perhaps to the right of the 'mode' indicator as a default (e.g., '⏵⏵ bypass permissions on (shift+Tab to cycle) [⇧+⏎ to submit]'). ('submit' or 'insert', or whatever)
Additional Context
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗