claude-code
claude-code copied to clipboard
[BUG] Chinese Input Method Candidate Window Not Following Cursor Position
Describe the bug When typing Chinese characters in Claude Code, the input method candidate selection window appears at the bottom-left corner of the screen instead of following the cursor position. This makes it difficult to see candidate characters while typing.
To Reproduce Steps to reproduce the behavior:
- Open Claude Code in a terminal (tested in Zed's integrated terminal)
- Switch to Chinese input method (e.g., Pinyin, Sogou, etc.)
- Start typing Chinese characters
- Observe that the candidate window appears at screen bottom-left instead of near the cursor
Expected behavior The Chinese input method candidate window should appear near the current cursor position, just like it does in regular terminal applications.
Screenshots
Environment:
- OS: macOS 15.3.1 (Build 24D70)
- Claude Code version: 1.0.88
- Terminal: Zed (v0.200.4 ) integrated terminal
- Input method: Chinese Pinyin (tested with system built-in and third-party input methods)
- Architecture: Apple Silicon
Additional context
- The issue only occurs within Claude Code
- Regular terminal applications (Terminal.app, iTerm2) work correctly with Chinese input methods
- The cursor position information seems not to be properly communicated to the macOS input method system
- This affects productivity when writing Chinese content or comments