[BUG] Shift + Enter submits prompt instead of inserting newline (contradicts documented shortcuts)

Resolved 💬 3 comments Opened Sep 21, 2025 by solsebb Closed Jan 8, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

When pressing Shift + Enter in Claude Code, it submits the prompt instead of inserting a newline. This directly contradicts the keyboard shortcuts displayed in the interface which clearly states "shift + ⏎ for newline".

Currently, Option + Enter (on Mac) inserts a newline, which should not be the documented behavior.

What Should Happen?

According to the displayed keyboard shortcuts in Claude Code:

  • Shift + Enter should insert a newline (as documented: "shift + ⏎ for newline")
  • The prompt should not be submitted when pressing Shift + Enter

Error Messages/Logs

No error messages - this is a keyboard shortcut behavior issue

Steps to Reproduce

  1. Open Claude Code in Cursor
  2. Start typing a multi-line prompt
  3. Press Shift + Enter expecting to insert a newline
  4. Observe that the prompt is submitted instead
  5. Try Option + Enter (on Mac) and observe it inserts a newline (undocumented behavior)

Note: The interface help text shows "shift + ⏎ for newline" but this doesn't work as documented.

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

N/A

Claude Code Version

1.0.120 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

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