Text duplication when typing with Chinese IME (macOS)
Status Open
Reported on v2.1.148
Maintainer reply None cached
Workaround ✓ Mentioned in description ↑
Activity 0 comments · opened Jul 31, 2026
Description
When typing in the Claude Code chat input, some characters get duplicated unexpectedly. This happens most often when using a Chinese input method (e.g., Zhuyin/Bopomofo) on macOS.
Steps to Reproduce
- Set input method to Chinese (Zhuyin or similar)
- Type a message in the Claude Code chat input field
- Observe that some characters or words appear duplicated in the input box
Expected Behavior
Each character should appear exactly once as typed.
Actual Behavior
Some characters are duplicated, requiring manual deletion before sending. This is particularly disruptive during fast-paced workflows.
Environment
- OS: macOS (Darwin 25.5.0)
- Claude Code version: 2.1.148
- Input method: Chinese Zhuyin (注音 / Bopomofo)
Additional Context
The issue appears to be related to IME composition events not being handled correctly in the input field. It does not occur when typing in English. Workaround: type in another app and paste into Claude Code.