[BUG] In Linux terminal, Chinese characters do not appear while typing
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
- OS: Ubuntu 24.04 LTS Desktop, Elementary OS 8.1
- Claude code version: 2.1.14
Problem Description:
When I am on Linux, I open the terminal (GTK terminal in Ubuntu, and the default terminal in Elementary OS), follow the official instructions to install Claude Code, then enter Claude Code.
After switching to a Chinese IME and starting to type using Zhuyin (Bopomofo), the Chinese words do not appear on the screen. they only show up after I press Enter.
This causes the following issues:
- While typing Chinese, I am basically like a blind person — I can't see the Chinese word at all until I press Enter.
- During the process of typing Chinese, I cannot select candidate characters.
All the above situations don't appear in the terminals if I don't run claude code.
I have tried ibus and fctix5, same results.
What Should Happen?
While I keyin Chinese in IME in claude in any terminal, the Chinese word should appear even I have not press Enter yet.
Error Messages/Logs
No error messages
Steps to Reproduce
curl -fsSL https://claude.ai/install.sh | bash
claude
/init
switch to Chinese IME and start to keyin any Chinese word.
This problem is not related to the model.
I didn't use any Anthroic API
Claude Model
Sonnet (default)
Is this a regression?
Yes, this worked in a previous version
Last Working Version
N/A
Claude Code Version
2.1.14
Platform
Anthropic API
Operating System
Ubuntu/Debian Linux
Terminal/Shell
GTK-Terminal
Additional Information
N/A
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗