[FEATURE] Desktop app: option to make Enter insert a newline and Ctrl+Enter submit in the chat composer

Status Open
Maintainer reply None cached
Activity 0 comments · opened Aug 26, 2026

Feature request

Add a way to make Enter insert a newline and Ctrl+Enter (or Cmd+Enter) submit in the Desktop app's chat composer.

Current behavior

  • In the Desktop app, Enter always submits the message; the only way to get a newline is Shift+Enter.
  • ~/.claude/keybindings.json (e.g. {"context": "Chat", "bindings": {"enter": "chat:newline", "ctrl+enter": "chat:submit"}}) works in the terminal TUI as documented, but is completely ignored by the Desktop app's composer.
  • This was reported in #25087, which was closed without a fix landing — the thread ends with an OS-level Karabiner-Elements workaround that only helps macOS users. There is no equivalent workaround on Windows.

Why

When writing longer, structured prompts (multi-line lists, pasted context plus instructions), it's very easy to accidentally send an incomplete message with a reflexive Enter. Enter-for-newline with a modifier-to-send is the standard convention in many chat/messenger apps, so muscle memory works against the current default.

Proposed solutions (either would work)

  1. Make the Desktop composer respect the Chat context in ~/.claude/keybindings.json, or
  2. Add a simple composer setting in the Desktop app: "Enter sends / Enter inserts newline (use Ctrl+Enter to send)".

Environment

  • Claude Code Desktop app on Windows 11 (also affects macOS per #25087)

🤖 Generated with Claude Code

View original on GitHub ↗