[GH-ISSUE #1767] Ctrl+Enter to Send as an alternative to Press Enter to Send doesn't work #860

Closed
opened 2026-10-21 05:22:27 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @cha1latte on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1767

Originally assigned to: @SpicyMarinara on GitHub.

Discussed in https://github.com/orgs/Pasta-Devs/discussions/1570

Originally posted by z0dkc May 29, 2026
I do not like Press Enter to Send, but I also don't really like having to use my mouse to click on send every time either.

I've been chatting with Prof Mari and she told me this was a feature but it just doesn't work.

Originally created by @cha1latte on GitHub (Jun 1, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1767 Originally assigned to: @SpicyMarinara on GitHub. ### Discussed in https://github.com/orgs/Pasta-Devs/discussions/1570 <div type='discussions-op-text'> <sup>Originally posted by **z0dkc** May 29, 2026</sup> I do not like Press Enter to Send, but I also don't really like having to use my mouse to click on send every time either. I've been chatting with Prof Mari and she told me this was a feature but it just doesn't work.</div>
bsakaguchi 2026-10-21 05:22:27 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@cha1latte commented on GitHub (Jun 1, 2026):

I can confirm this is a feature that seems to be broken in both 1.6.1 and refactor.

<!-- gh-comment-id:4589006496 --> @cha1latte commented on GitHub (Jun 1, 2026): I can confirm this is a feature that seems to be broken in both 1.6.1 and refactor.
Author
Owner

@aeriondyseti commented on GitHub (Jun 1, 2026):

I can take this one if you're not already working it.

<!-- gh-comment-id:4589229924 --> @aeriondyseti commented on GitHub (Jun 1, 2026): I can take this one if you're not already working it.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 1, 2026):

I've got it.

<!-- gh-comment-id:4591255071 --> @SpicyMarinara commented on GitHub (Jun 1, 2026): I've got it.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 1, 2026):

Fixed on refactor in commit 12ccbb4f.

What changed:

  • Centralized chat send-shortcut detection in src/shared/lib/send-shortcuts.ts.
  • Conversation, roleplay/shared chat input, game input, and Professor Mari now all use the same rule: plain Enter sends only when that mode's Send on Enter setting is enabled; Ctrl+Enter or Command+Enter sends when Enter-to-send is off; Shift+Enter remains newline; IME composition does not send.
  • Updated the Settings tooltip to document Ctrl+Enter/Command+Enter.
  • Added focused coverage in src/shared/lib/send-shortcuts.test.tsx.

Validation:

  • pnpm exec vitest run src/shared/lib/send-shortcuts.test.tsx
  • pnpm typecheck
  • pnpm check:architecture
<!-- gh-comment-id:4591345622 --> @SpicyMarinara commented on GitHub (Jun 1, 2026): Fixed on `refactor` in commit `12ccbb4f`. What changed: - Centralized chat send-shortcut detection in `src/shared/lib/send-shortcuts.ts`. - Conversation, roleplay/shared chat input, game input, and Professor Mari now all use the same rule: plain Enter sends only when that mode's Send on Enter setting is enabled; Ctrl+Enter or Command+Enter sends when Enter-to-send is off; Shift+Enter remains newline; IME composition does not send. - Updated the Settings tooltip to document Ctrl+Enter/Command+Enter. - Added focused coverage in `src/shared/lib/send-shortcuts.test.tsx`. Validation: - `pnpm exec vitest run src/shared/lib/send-shortcuts.test.tsx` - `pnpm typecheck` - `pnpm check:architecture`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#860
No description provided.