Skip to content

Option+Enter does not insert a newline in the REPL input #188

Description

Description

In the feynman REPL, pressing Option+Enter behaves identically to plain Enter (it submits the message) instead of inserting a newline within the input.

This differs from Claude Code's terminal UI, where Option+Enter inserts a newline, letting you compose a multi-line message before submitting.

Actual behavior

Option+Enter submits the current input immediately, same as Enter.

Expected behavior

Option+Enter should insert a newline in the input buffer without submitting, matching the convention used by Claude Code and other terminal chat UIs.

Impact

Because there's no reliable newline shortcut, it's easy to accidentally send a half-finished message when trying to start a new line before continuing to type.

Environment

  • feynman 0.3.5 (darwin-arm64)
  • macOS (Darwin 24.1.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions