macos: [Bug] Korean IME: Initial syllable composition fails on first input #9213
Unanswered
icedac
asked this question in
Feature Requests, Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
CleanShot.2025-10-15.at.15.30.56.mp4
Title: [Bug] Korean IME: Initial syllable composition fails on first input
Description
When using the Korean IME in the Ghostty terminal on macOS, the initial consonant (Jamo) of the first typed syllable is immediately committed to the terminal instead of entering a pre-edit state. When the subsequent vowel is typed, the initial consonant disappears, and a new composition begins, resulting in the loss of the first consonant.
This issue only occurs on the very first attempt to type Korean on changing English to Korean. Subsequent attempts to types work correctly.
Environment
Steps to Reproduce
g,k,sin sequence.g(for the characterㅎ), it is rendered directly to the terminal instead of being held in a pre-edit buffer (which is typically indicated by an blinking cursor box or curosr underline).k(for the vowelㅏ), the previously committedㅎcharacter remain in the terminal, and only the input starts fresh fromㅏ.ㅏㄴ(ks) after 'ㅎ' instead of the intended한(gks).Expected Behavior
When the key for the initial consonant
ㅎis pressed, it should be held in the IME's pre-edit buffer, awaiting the next vowel for composition. It should not be committed to the terminal immediately. Typing the subsequent vowelㅏshould correctly combine with the bufferedㅎto form the syllable하.Actual Behavior
The initial consonant is prematurely committed to the terminal as a final character. When the next vowel is typed, this committed consonant is ignored, and a new composition process begins. This bug only affects the first attempt at Korean input on changing English to Korean; subsequent attempts works correctly, as demonstrated in the attached video.
Additional Context
This bug significantly impacts the user experience for those who type in Korean, causing constant interruptions and errors. A review of how the terminal handles IME composition for complex script languages seems necessary.
Beta Was this translation helpful? Give feedback.
All reactions