Skip to content

pressEnterToSend: false setting has no effect #16576

@ustunb

Description

@ustunb

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+").

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:tuibugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions