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
- Open Warp terminal
- Run any interactive CLI app (e.g.,
claude, gemini)
- Switch to Korean input method
- Type "안녕하세요" (Korean for "hello")
- 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
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
claude,gemini)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
Workaround
Pressing the right arrow key (→) before Enter forces the IME to commit the composing character.
Notes