[BUG] Korean IME: cannot switch from English to Korean input (한/영 toggle ignored) in Windows Terminal (2.1.198)
Environment
- Claude Code version: 2.1.198
- OS: Windows 11 Pro (10.0.26200)
- Terminal: Windows Terminal
- Shell: PowerShell 7
- IME: Microsoft Korean IME (default)
Bug Description
When typing a prompt in the Claude Code TUI, switching the IME from English to Korean does not work. Pressing the 한/영 (Han/Yeong) toggle key while focused on the Claude Code input box does not switch to Korean input — keystrokes continue to produce English letters, and Hangul composition never starts.
The IME toggle works normally in the same Windows Terminal window at the plain PowerShell prompt before launching claude, so this is specific to Claude Code's input handling.
Expected Behavior
Pressing 한/영 should switch to Korean input mode, and Hangul jamo should compose into syllables in the input box, as in any other terminal application.
Actual Behavior
Input stays in English mode; Korean characters cannot be typed directly into the prompt.
Related Issues
This looks like the same family of Windows/CJK IME regressions previously reported:
- #35307 (Korean IME preedit anchored to wrong position on Windows — regression of PR #17127)
- #22853 (IME character loss for Vietnamese/Chinese/Japanese/Korean)
- #2620 (IME composition failure for Korean)
Per #35307, the root cause is likely that the TUI renders a fake cursor without moving the real terminal cursor, so the OS IME cannot attach to the caret. The fix from PR #17127 (move the real cursor to the caret position after each render) appears to have regressed again.
Workaround Currently Used
Composing Korean text in another app and pasting it into the prompt.