Inline Ghost Text Extends Beyond Screen and Becomes Invisible

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When typing with inline suggestions enabled, ghost text sometimes extends beyond the right edge of the editor window. The suggestion is rendered outside the visible area, making part of it impossible to see.

Steps to Reproduce

  1. Open a file and type code until the cursor is near the right edge of the editor.
  2. Trigger an inline suggestion.
  3. Observe that the suggestion goes beyond the visible editor area and cannot be fully seen.

Expected Behavior

Inline suggestions (ghost text) should always remain visible within the editor viewport. If the suggestion is longer than the available space, it should either wrap, reposition, or display in a way that ensures the entire suggestion is visible.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.35
VSCode Version: 1.99.3
Commit: b753cece5c67c47cb5637199a5a5de2b7100c180
Date: 2025-09-19T17:39:38.846Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Darwin x64 22.6.0

Additional Information

Proposed Solution
Add an option to display inline suggestions below the cursor line (similar to how IntelliSense dropdowns are displayed).

For example:
“editor.inlineSuggest.displayMode”: “inline” | “below” | “wrap”
inline: current behavior (ghost text after the cursor).
below: display suggestion under the current line, preventing cutoff.
wrap: automatically line-wrap long suggestions so they remain visible.

In below mode, the suggestion would appear as a floating box under the current line, ensuring that long suggestions are always visible.

Benefits

-Greatly improves usability on vertical monitors and narrow editor layouts.
-Prevents ghost text from being cut off.
-More consistent user experience (similar to dropdown IntelliSense).

Does this stop you from using Cursor

No - Cursor works, but with this issue

1 Like

Hey, thanks for the report. We’ll look into it.