AskUserQuestion "Other" custom text input drops the last Korean (Hangul) character

Open 💬 0 comments Opened Jul 14, 2026 by devseunggwan

Description

When answering an AskUserQuestion prompt via the free-text "Other" input using Korean (Hangul) IME input, the last character typed is missing from the submitted answer.

Suspected cause

Likely an IME composition timing issue — pressing Enter while the last Hangul syllable is still mid-composition may cause the input widget to capture the buffer before the IME commits the final character.

Steps to reproduce

  1. Trigger an AskUserQuestion prompt that includes (or allows) a free-text "Other" answer.
  2. Select "Other" and type a sentence in Korean using an IME, ending in a Hangul character.
  3. Press Enter to submit.
  4. The submitted text is missing its last character.

Expected behavior

The full typed text, including the last character, should be captured and submitted.

Workaround

Typing a throwaway trailing character (e.g., a space) after the intended last character, then submitting, avoids the truncation — suggesting the last character's IME composition isn't being flushed before submit.

Environment

  • Claude Code: 2.1.209
  • OS: macOS 26.5 (build 25F71)
  • Shell: zsh
  • TERM: xterm-256color

View original on GitHub ↗