Skip to content

Korean (Hangul) input drops the last character in Gemini CLI #2797

@techjuicelab

Description

@techjuicelab

What happened?

Description:
When typing Korean (Hangul) characters into the Gemini CLI prompt, the
final character of a word or syllable is consistently dropped and does not
appear. For example, if I type a complete word, the last letter is missing.
This issue is specific to the Gemini CLI input field and does not occur in
the standard iTerm2 terminal or other applications.

Steps to Reproduce:

  1. Launch the Gemini CLI in an iTerm2 terminal running Oh My Zsh.
  2. Switch to the Korean Input Method Editor (IME).
  3. Attempt to type a complete Korean word, for example, "안녕하세요".

Expected Behavior:
The full word "안녕하세요" should be typed and displayed correctly in the
input prompt.

Actual Behavior:
The last character of the word is dropped. For instance, typing
"안녕하세요" results in "안녕하세".

Troubleshooting Steps Taken:

  • Confirmed that the iTerm2 profile setting Profiles > Text > Unicode
    normalization is set to NFC.
  • Confirmed this issue does not occur outside of the Gemini CLI.

What did you expect to happen?

"안녕하세요" results in "안녕하세요".

Client information

Environment:

  • OS: macOS
  • Terminal: iTerm2
  • Shell: Oh My Zsh

Login information

No response

Anything else we need to know?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority/p1Important and should be addressed in the near term.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions