[BUG] Chinese Input Method Candidate Window Not Following Cursor Position

Resolved 💬 7 comments Opened Aug 22, 2025 by ylpno3 Closed Jan 29, 2026

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:

  1. Open Claude Code in a terminal (tested in Zed's integrated terminal)
  2. Switch to Chinese input method (e.g., Pinyin, Sogou, etc.)
  3. Start typing Chinese characters
  4. 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

<img width="1664" height="1405" alt="Image" src="https://github.com/user-attachments/assets/44debc6f-dec0-4532-8593-31d9cb05fdcd" />

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

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗