You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Korean IME input garbled / characters reordered during composition #3164
Still seeing Korean input issues(Different from the earlier, though) on the latest version — thought it worth flagging since the changelog mentioned a fix in v0.14.1.
When typing Korean via IME (e.g. trying to type 안녕하세요, 저건 뭔가요?), the composed text comes out garbled: characters get reordered, split, or merged incorrectly — e.g. 안녕하세,요 저 건뭔 가요?. It doesn't happen consistently; it seems to occur more under slight timing variation (fast typing, or occasionally during any keystroke), which makes it feel like a race condition in how composition events are handled.
Still reproducing on v0.14.5, and with a narrower repro than the original report.
Symptom (a consistent subset of the garbling): when a punctuation key (,.?) is pressed while the final Hangul syllable is still composing, the punctuation is committed one position before that syllable.
typed: 되는 거야? appears: 되는 거?야
typed: 안 걸리는데? appears: 안 걸리는?데
Same shape as the 안녕하세,요 in the original report, but this subset is reproducible on demand rather than only under fast typing — type any Hangul syllable and hit ,/./? before that syllable is committed.
Layer isolation — all three tested against the same WSL shell:
where
reproduces?
inside a TUI app (Claude Code / React Ink)
yes
bare zsh prompt in Wave
yes → not the app
same WSL shell in WezTerm
no → not the Windows IME
That leaves Wave's terminal input layer.
Possible lead: Tabby (also xterm.js-based) has a report whose mechanism matches this exactly — Eugeny/tabby#11013: the custom key handler has no isComposing carve-out for IME-committed printable punctuation, so xterm's keyboard encoder emits the ASCII byte and preventDefault()s the keydown, suppressing the IME's own insertion. That ordering would place the punctuation ahead of the composed syllable, which is what we observe.
Activity
custodis commentedon Sep 3, 2026
Still reproducing on v0.14.5, and with a narrower repro than the original report.
Symptom (a consistent subset of the garbling): when a punctuation key (
,.?) is pressed while the final Hangul syllable is still composing, the punctuation is committed one position before that syllable.Same shape as the
안녕하세,요in the original report, but this subset is reproducible on demand rather than only under fast typing — type any Hangul syllable and hit,/./?before that syllable is committed.Layer isolation — all three tested against the same WSL shell:
zshprompt in WaveThat leaves Wave's terminal input layer.
Possible lead: Tabby (also xterm.js-based) has a report whose mechanism matches this exactly — Eugeny/tabby#11013: the custom key handler has no
isComposingcarve-out for IME-committed printable punctuation, so xterm's keyboard encoder emits the ASCII byte andpreventDefault()s the keydown, suppressing the IME's own insertion. That ordering would place the punctuation ahead of the composed syllable, which is what we observe.Environment
wsl://Ubuntu(native WSL connection, wsh enabled)fix: cancel xterm's deferred IME send through the correct helper path