Editor cursor jumps to end of line during Chinese input composition when text wraps

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When typing Chinese characters in the editor, if a line exceeds the editor width and wraps to the next line, the text cursor incorrectly jumps to the end of the line during typing. This causes the current line of text to shift left and right while typing, which is very distracting when writing Chinese documents.

I have tried uninstalling and reinstalling Cursor, switching to different Chinese input methods, and disabling Cursor Tab, but the issue still persists.

Steps to Reproduce

To minimize this issue, I avoid typing Chinese directly in Cursor. Instead, I write Chinese documents in other tools first, then paste the content into Cursor for editing.

Screen recording

Expected Behavior

  • Typing Chinese characters (or other multi-byte characters)
  • The line content exceeds the editor’s visible width

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.44
VSCode Version: 1.105.1
Commit: 20adc1003928b0f1b99305dbaf845656ff81f5d0
Date: 2025-12-24T21:41:47.598Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 25.1.0

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

Hey, thanks for the report.

Thanks for the detailed report and the video, that really helps. I can see the cursor jump issue when typing Chinese characters as the line wraps.

I’ll pass this to the dev team to fix. This looks like an issue with handling IME composition events during word wrap.

For now, your workaround (typing in another editor and pasting) is a reasonable solution. You can also try turning off word wrap: Settings > Editor: Word Wrap > Off. It’s not ideal, but it may help as a temporary measure.

I’ll let you know if there’s an update on this.

1 Like