Skip to content

fix: Prevent Enter key from sending message during IME composition - #7

Merged
experdot merged 1 commit into
experdot:mainfrom
ewfian:fix/ime-composition
Oct 9, 2025
Merged

fix: Prevent Enter key from sending message during IME composition#7
experdot merged 1 commit into
experdot:mainfrom
ewfian:fix/ime-composition

Conversation

@ewfian

@ewfianewfian commented Oct 8, 2025

Copy link
Copy Markdown
Contributor
  • Add compositionStart/End event handlers to track IME state
  • Only trigger send on Enter when not composing

Close#6

- Add compositionStart/End event handlers to track IME state
- Only trigger send on Enter when not composing
- Fixes issue where Chinese/Japanese input confirmation sends message prematurely
@ewfian
ewfianforce-pushed the fix/ime-composition branch from 16a7fdf to 0964bdcCompareOctober 8, 2025 06:46
@ewfianewfian changed the title fix: Prevent Enter key from sending message during IME composition (close #6)fix: Prevent Enter key from sending message during IME compositionOct 8, 2025
@experdot
experdot merged commit 67a240c into experdot:mainOct 9, 2025
Sign up for freeto 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.

IME composition conflicts with Enter key to send messages on macOS

2 participants

@ewfian@experdot