Skip to content
This repository was archived by the owner on Sep 23, 2026. It is now read-only.
This repository was archived by the owner on Sep 23, 2026. It is now read-only.

Feature Request: Shift+Enter to insert newline in prompt input #2010

Description

@wowlegend

Description

Currently, pressing Enter in the prompt input submits the message. To insert a newline, users must use Ctrl-J or Alt-Enter.

However, Shift+Enter has become the universal standard across modern chat interfaces (ChatGPT, Claude, Discord, Slack, etc.) for inserting a new line without submitting. Muscle memory from these platforms makes the current kimi-cli behavior feel unintuitive.

Current Behavior

Shortcut Action
Enter Submit prompt
Ctrl-J Insert newline
Alt-Enter Insert newline
Shift+Enter ❌ Not supported for newline

Desired Behavior

Shortcut Action
Enter Submit prompt
Shift+Enter Insert newline
Ctrl-J / Alt-Enter Keep for backward compatibility

Why This Matters

  • Muscle memory: Millions of users are trained on Shift+Enter from web chat UIs. Supporting it reduces friction for new CLI users.
  • Ergonomics: Shift+Enter is easier to discover and type than Ctrl-J or Alt-Enter.
  • Parity: Aligns kimi-cli with the de-facto standard behavior users expect.

Environment

  • kimi-cli version: latest
  • OS: macOS (but applies to all platforms)

Thanks for considering this!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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