Skip to content

Support Ctrl+Enter for sending messages#11

Merged
sf-jin-ku merged 2 commits into
mainfrom
fix-ctrl-enter-send
May 22, 2026
Merged

Support Ctrl+Enter for sending messages#11
sf-jin-ku merged 2 commits into
mainfrom
fix-ctrl-enter-send

Conversation

@sf-jin-ku
Copy link
Copy Markdown

Summary

  • Treat terminal-reported Ctrl+Enter as a native send chord in insert mode.
  • Keep Shift+Enter and Ctrl+J as newline paths.
  • Document Ctrl+Enter as an IME-friendly send fallback and cover main/thread compose with tests.

Test plan

  • rtk go test ./...

🤖 Generated with Claude Code

sf-jin-ku and others added 2 commits May 22, 2026 11:40
Treat terminal-reported Ctrl+Enter the same as plain Enter in insert mode so IME users have a native send chord that is less likely to be consumed as composition commit.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Resolve overlap with modified Enter newline handling so Ctrl+Enter still sends while Shift/Alt/backslash Enter continue inserting newlines.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@sf-jin-ku sf-jin-ku merged commit ce6e816 into main May 22, 2026
2 checks passed
@sf-jin-ku sf-jin-ku deleted the fix-ctrl-enter-send branch May 22, 2026 18:54
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