Describe the Bug
When insert a new line in agent chat (shift + enter), mouse cursor will move to random place and insert new line there. See screenshot attached. My mouse cursor was at the top paragraph instead of the bottem. This can be fixed by first move mouse cursor, type a character, then insert new line.
Steps to Reproduce
Happens from time to time when edit a chat in agent time, but not always.
Screenshots / Screen Recordings
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.49.6 (Universal)
VSCode Version: 1.96.2
Commit: 0781e811de386a0c5bcb07ceb259df8ff8246a50
Date: 2025-04-25T04:39:09.213Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0