-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
area:tuibugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS
Description
Description
The pressEnterToSend: false setting in ~/.claude/settings.json is not being honored. With this setting, Enter should add a newline and Cmd+Enter should send the message, but instead Enter still sends the message.
Expected Behavior
With pressEnterToSend: false:
- Enter → adds a newline
- Cmd+Enter → sends the message
Actual Behavior
With pressEnterToSend: false:
- Enter → sends the message (incorrect)
- Cmd+Enter → sends the message
- Option+Enter → adds a newline (this is the default behavior when
pressEnterToSend: true)
The setting appears to have no effect - the default behavior persists regardless of the setting value.
Steps to Reproduce
- Set
{"pressEnterToSend": false}in~/.claude/settings.json - Restart Claude Code
- Press Enter in the input field
- Observe: message is sent instead of adding a newline
Environment
- Claude Code version: 2.0.76
- OS: macOS (Darwin 24.6.0)
- Terminal: iTerm2 and Terminal.app (issue occurs in both)
Settings File
{
"pressEnterToSend": false
}Workaround
Use Option+Enter for newlines (requires iTerm2's "Left Option Key" set to "Esc+").
Metadata
Metadata
Assignees
Labels
area:tuibugSomething isn't workingSomething isn't workinghas reproHas detailed reproduction stepsHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOSIssue specifically occurs on macOS