pressEnterToSend: false setting has no effect

Resolved 💬 4 comments Opened Jan 7, 2026 by ustunb Closed Mar 14, 2026

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

  1. Set {"pressEnterToSend": false} in ~/.claude/settings.json
  2. Restart Claude Code
  3. Press Enter in the input field
  4. 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+").

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗