Skip to content

fix: support multiline input with Shift+Enter#5

Merged
TIANQIAN1238 merged 1 commit into
mainfrom
fix/cli-and-mcp-bugs
Feb 17, 2026
Merged

fix: support multiline input with Shift+Enter#5
TIANQIAN1238 merged 1 commit into
mainfrom
fix/cli-and-mcp-bugs

Conversation

@TIANQIAN1238

Copy link
Copy Markdown
Member

Summary

  • Add Shift+Enter to insert newlines in the CLI input box
  • Preserve newlines when pasting multiline text (URL/key modes still strip newlines)
  • Render input as multiline with per-line prefix and cursor on last line
  • Add "Press Shift+Enter to add a new line" tip

Test plan

  • Press Shift+Enter inserts a newline in the input box
  • Plain Enter still submits the message
  • Paste multiline text preserves newlines
  • Paste in URL/key modes still strips newlines
  • Cursor displays on the last line

🤖 Generated with Claude Code

- Add Shift+Enter handler to insert newline in input box
- Preserve newlines when pasting text (except in URL/key modes)
- Render input as multiline with per-line cursor display
- Add Shift+Enter tip to TIPS pool

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@TIANQIAN1238
TIANQIAN1238 merged commit 2b04b9c into main Feb 17, 2026
0 of 4 checks passed
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.

1 participant