Skip to content

Unable to insert a new line in Claude Code terminal session on macOS using Command+Enter #72

Description

@sebarys

Description

When using Claude Code in a terminal session on macOS, it's not possible to insert a new line into the prompt using the standard Command + Enter shortcut.

I've only reproduced this on macOS, as I haven't tested other operating systems.

Steps to reproduce

  1. Run:
    sandcat attach
  2. Start Claude Code:
    claude-yolo
  3. Try to enter a multi-line prompt by pressing Command + Enter to insert a new line.

Expected behavior

Pressing Command + Enter inserts a new line, allowing the user to compose a multi-line prompt.

Actual behavior

Command + Enter does not insert a new line (just Enter is detected), making it impossible to compose a multi-line prompt using this shortcut.

Environment

  • OS: macOS
  • Reproduced only on macOS (other operating systems have not been tested).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions