claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Korean IME composition: jamo not displayed until syllable completion (Kitty + Gureumkim)

Open JamesKim2998 opened this issue 10 months ago • 2 comments

Environment

  • Platform: macOS (darwin 25.0.0)
  • Terminal: Kitty
  • IME: Gureumkim (구름)
  • Claude Code Version: 2.1.7

Problem

When typing Korean in Claude Code, individual jamo (자모) are not displayed during composition. Characters only appear after a complete syllable is formed.

Expected Behavior

Like native macOS apps and Gureumkim's normal behavior:

  • Type ㄱ → see ㄱ
  • Type ㄱ + ㅏ → see 가
  • Type ㄱ + ㅏ + ㄴ → see 간

Actual Behavior

  • Type ㄱ → nothing displayed
  • Type ㄱ + ㅏ → nothing displayed
  • Type ㄱ + ㅏ + ㄴ → 간 suddenly appears (or only after pressing space/enter)

This makes Korean input feel unnatural and hard to track what's being typed.

Related Issues

  • #1547 - IME input causes performance issues
  • #1553 - IME Composition Input Rendering Lag for Non-Latin Scripts
  • #2620 - IME Composition Failure for Korean Character Input (closed as duplicate)
  • #3045 - Investigation: Fixing IME Issues by Patching React Ink

Notes

This appears to be related to React Ink's TextInput component not properly handling IME pre-edit/composition state in terminal environments. The August 2025 IME fixes improved cursor positioning but the composition display issue persists.

JamesKim2998 avatar Jan 15 '26 06:01 JamesKim2998

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/15032
  2. https://github.com/anthropics/claude-code/issues/8487
  3. https://github.com/anthropics/claude-code/issues/7804

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar Jan 15 '26 07:01 github-actions[bot]

I think it is not duplicated!!

JayAhn2 avatar Jan 15 '26 12:01 JayAhn2

+1 Same issue here.

Environment:

  • macOS (darwin 24.4.0)
  • Terminal: iTerm2
  • Claude Code: latest

Experience: Korean characters only appear after syllable completion. This makes it very difficult to type Korean compared to other apps (like Notes or text editors) where composition is displayed in real-time.

The workaround of composing text externally and pasting works, but it significantly disrupts the workflow.

Would really appreciate a fix for this. Thank you!

sangrokjung avatar Feb 03 '26 13:02 sangrokjung

+1 Experiencing the same issue on macOS (Darwin 25.2.0) with iTerm2 and the default Korean IME.

In my case, characters are completely invisible during composition - not even showing at a wrong position. The input field appears entirely blank while typing Korean. Only after pressing Enter does the text appear in the output.

This is a critical usability issue. I have filed a separate detailed report with root cause analysis pointing to React Ink's TextInput and terminal raw mode interaction.

Would greatly appreciate prioritization of this fix for CJK users. Thank you!

minislively avatar Feb 03 '26 13:02 minislively

This has been fixed. Korean jamo are now displayed during syllable composition.

cirospaciari avatar Feb 06 '26 10:02 cirospaciari

@cirospaciari Thanks for updates. but, i noticed that Korean jamo are not displayed correctly during syllable composition - may related to react ink issue? ( I'm using ghostty + claude-code 2.1.34 + MacOS 26.2)

could you clarify when this was solved? It works well with gemini-cli or opencode, but fails in claude code

JiehoonKwak avatar Feb 06 '26 12:02 JiehoonKwak

I tested again with gemini cli and i think gemini-cli seems to have same issue (my mistake) issue #16322 shows that this issue has not been solved. i know that it is trivial, but i think it can be easily solved. i think we need to repopen this issue

JiehoonKwak avatar Feb 06 '26 14:02 JiehoonKwak

@cirospaciari Sorry, but the issue still hasn’t been resolved on my end. Could you please let me know what environment you tested in to determine that it was fixed?

Weallhappy avatar Feb 07 '26 13:02 Weallhappy

plz follow progress here https://github.com/anthropics/claude-code/issues/1547#issuecomment-3874884596

cirospaciari avatar Feb 10 '26 02:02 cirospaciari