Chat box Cursor inaccurately places new line

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In the video, at 7 seconds we can see my cursor is after

ambiguous."

When I input shift+return to create a new line, the new line is being added to a line different from the one the cursor was on.

I can work around the by giving some other keyboard input, like just a letter which gets placed correctly, then the shift+enter new line addition is placed correctly

Steps to Reproduce

Happens sporadically. With our without copying and pasting into the chat box

Expected Behavior

The new line is supposed to be input where my cursor is

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (Universal)
VSCode Version: 1.105.1
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260
Date: 2025-11-27T02:30:49.286Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Darwin arm64 24.0.0

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report and video - it seems like a bug with cursor desynchronization in chat input.

We need a bit more data to file a bug with complete logs:

  • Does it repeat without extensions: start from the terminal with cursor --disable-extensions and check.
  • Open Help > Toggle Developer Tools > Console, reproduce the issue, and send a screenshot/log of the console.
  • If possible, describe the brief steps that lead to the issue (e.g., after pasting, moving the cursor, Undo/Redo, etc.).

Let me know what you find out.