Skip to content

feat: add Alt+Enter for multi-line input#75

Merged
stdrc merged 4 commits intoMoonshotAI:mainfrom
ljyou001:main
Oct 27, 2025
Merged

feat: add Alt+Enter for multi-line input#75
stdrc merged 4 commits intoMoonshotAI:mainfrom
ljyou001:main

Conversation

@ljyou001
Copy link
Copy Markdown
Contributor

Summary

Adds support for multi-line input in the shell UI by binding Alt+Enter to insert newlines.

Changes

  • Added escape + enter key binding in CustomPromptSession to insert newlines (src/kimi_cli/ui/shell/prompt.py)
  • Updated bottom toolbar to show alt-enter: newline shortcut hint

User Experience

  • Alt+Enter: Insert newline (continue multi-line input)
  • Enter: Submit input (unchanged)
  • Continuation prompt "... " displays for subsequent lines

Oliver Lyu and others added 4 commits October 24, 2025 22:06
Signed-off-by: Richard Chien <stdrc@outlook.com>
Signed-off-by: Richard Chien <stdrc@outlook.com>
@stdrc stdrc merged commit d19518d into MoonshotAI:main Oct 27, 2025
@stdrc stdrc mentioned this pull request Oct 27, 2025
stdrc added a commit that referenced this pull request Dec 26, 2025
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Richard Chien <stdrc@outlook.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Richard Chien <stdrc@outlook.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants