Cursor forced to index 0 when typing/backspacing (ONLY occurs when Agent is in a separate/floating window)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When using the Agent within the Cursor editor, the text cursor consistently and unexpectedly jumps to the beginning of the current input/line. This happens during normal typing and when using the Backspace key, resulting in text being inserted backwards.

Important Discovery: This bug is strictly isolated to when the Agent is popped out into an independent/floating window. If the Agent is docked in the main window, typing functions normally.

Steps to Reproduce

  1. Open Cursor.

  2. [CRITICAL STEP] Pop the Agent out into a separate, independent window. (see attached screenshot showing the “Agents Window”)

  3. Focus the input field in this separate window and attempt to type the word cat.

  4. Type c. The cursor immediately jumps to the far left: |c.

  5. Type a. Because the cursor is at the beginning, it inserts before ‘c’, resulting in |ac.

  6. Type t. The final text becomes tac instead of cat.

  7. Alternatively, place the cursor at the end of a word and press Backspace. The cursor immediately relocates to the far left instead of deleting the previous character.

Expected Behavior

The text cursor should maintain its correct position relative to the user’s input, even when the Agent is operating in a separated window.

Screenshots / Screen Recordings

Operating System

Windows 10/11

Version Information

Version: 3.2.11 (system setup)
VSCode Version: 1.105.1
Commit: e9ee1339915a927dfb2df4a836dd9c8337e17cc0
Date: 2026-04-24T14:36:47.933Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.19045

Does this stop you from using Cursor

Yes - Cursor is unusable


ONLY occurs when Agent is in a separate/floating window

Hey, this is a known bug with prompt input in the separate Agent pop-out window (Agents Window). It happens on Windows, Linux, and macOS. Main discussion thread: Editor in a new window, zoomed in, typing from right to left

Temporary workaround: Ctrl+Shift+P → Developer: Reload Window. This will fix input until it happens again.

We’re tracking the issue, but there’s no exact ETA for a fix yet.