Skip to content

[Bug]: Korean IME input garbled / characters reordered during composition #3164

Open

Description

@jihoo

Current Behavior

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.

Win 10 LTSC, Korean, Wave 0.14.4; wsl2/Ubuntu 24.04.4 LTS.

Expected Behavior

Expected: Text committed as typed
Actual: Syllable blocks occasionally split, reordered, or duplicated mid-composition

Steps To Reproduce

  1. Open any shell in Wave Terminal
  2. Switch to Korean IME
  3. Type a sentence at a moderate-to-fast pace

Wave Version

v0.14.4

Platform

Windows

OS Version/Distribution

Windows 10 22H2, Ubuntu 24.04.4 LTS

Architecture

x64

Anything else?

No response

Activity

  1. added
    bug
    triage
    on Apr 1, 2026
  2. custodis commented on Sep 3, 2026

    @custodis

    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.

    Environment

    • Wave 0.14.5, Windows 11, x64
    • Connection: wsl://Ubuntu (native WSL connection, wsh enabled)
    • WSL2 Ubuntu, kernel 6.18.33.1-microsoft-standard-WSL2
    • Microsoft IME (Korean); "use previous version of Microsoft IME" is off (i.e. the new IME)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions