Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When typing Japanese in the editor with word wrap enabled, the current line is drawn twice during IME composition. The wrapped portion of the sentence reappears on the next visual line, so the same text looks duplicated.
This is a display-only glitch. The file buffer is correct and is not actually duplicated. Reloading the window or turning word wrap off clears it.
It happens while composing Japanese with IME (before or while confirming conversion), especially on a long Markdown line that wraps mid-sentence.
Steps to Reproduce
Steps to Reproduce:
- Open a Markdown file.
- Turn on Editor: Word Wrap.
- Type a long Japanese sentence with IME until the line wraps.
- Keep composing / converting without confirming immediately.
Expected Behavior
Expected: one wrapped line, no duplicated text.
Actual: the wrapped segment is shown twice (ghosted / overlapping).
Screenshots / Screen Recordings
Operating System
MacOS
Version Information
Version: 3.15.19 (Universal)
VS Code Extension API: 1.128.0
Commit: de07bee81cefe43461ebf4f40c3d2d78d15052a0
Date: 2026-08-11T05:22:54.627Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 25.5.0
For AI issues: which model did you use?
Cursor Grok 4.6
Additional Information
Possibly related (same IME + word wrap area, different symptom — that one is cursor jumping, this one is duplicated/ghosted text):
Does this stop you from using Cursor
No - Cursor works, but with this issue