Skip to content

Korean IME: Last composing character is dropped when pressing Enter #8919

@ivelly42

Description

@ivelly42

Bug Description

When typing Korean text in Warp, the last character being composed by the Korean IME is dropped/lost when pressing Enter.

Steps to Reproduce

  1. Open Warp terminal
  2. Run any interactive CLI app (e.g., claude, gemini)
  3. Switch to Korean input method
  4. Type "안녕하세요" (Korean for "hello")
  5. Press Enter immediately

Expected Behavior

The full text "안녕하세요" is submitted.

Actual Behavior

Only "안녕하세" is submitted — the last character "요" is dropped because it was still in IME composing (pre-edit) state when Enter was pressed.

Root Cause Analysis

When Enter is pressed, Warp sends the Enter keypress to the PTY before committing the IME pre-edit text. Native macOS apps (Safari, Notes, etc.) commit the composing character first, then process Enter. Warp skips this IME commit step.

Environment

  • Warp version: 0.62.2
  • OS: macOS Darwin 25.3.0 (Apple Silicon, M1 Pro)
  • Input method: macOS default Korean IME
  • Affected CLI apps: Claude Code, Gemini CLI (any app reading from PTY)

Workaround

Pressing the right arrow key (→) before Enter forces the IME to commit the composing character.

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:terminal-inputTerminal command-line input, cursor movement, key handling, and input editing.triagedIssue has received an initial automated triage pass.

    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