Skip to content

Improve CJK IME support in the CLI #757

@dimochoi

Description

@dimochoi

Description of the feature request:

No response

What problem are you trying to solve with this feature?

Hello,

When using the Gemini CLI (gemini command) on Linux, the tool does not display the pre-edit text for IME (Input Method Editor) composition.

Current Behavior:
When typing a Korean character like "한" (by pressing the keys ㅎ, ㅏ, ㄴ in sequence), the intermediate composition steps (ㅎ -> 하) are not shown. The final character "한" only appears after the composition is finalized (e.g., by pressing space or enter).

Expected Behavior:
The CLI should display the pre-edit text in real-time as it is being composed, similar to how modern terminal emulators (like gnome-terminal) or other applications behave. The user should see ㅎ, then 하, then 한.

Impact:
This makes typing in Korean and other CJK languages very difficult, leading to frequent typos and a frustrating user experience.

System Info:

  • OS: Linux
  • IME: IBus

Any other information you'd like to share?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions