After extended conversations with the Agent, text input behavior in the chat becomes incorrect.
Pressing Shift+Enter inserts a line break at an unexpected position.
When selecting a block of text with the mouse and deleting it, only the last character is removed instead of the full selection.
The issue occurs intermittently and cannot be reliably reproduced. Closing and reopening the chat window restores normal behavior.
Steps to Reproduce
The issue is not consistently reproducible. It has been observed under the following conditions:
Have a long-running conversation with an Agent (large chat context).
Continue interacting in the same chat session.
Text input issues may start to appear (Shift+Enter behavior and incorrect deletion).
Close and reopen the chat window → issue is resolved.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
After leaving Cursor running while the computer was idle for several hours, I found it had hit an OOM error when I returned.
Cursor was fully restarted after the OOM.
This is a known issue where the chat cursor position can get out of sync after long sessions. The team is working on a fix.
As a temporary workaround, closing and reopening the chat (like you found) is the best option for now.
To help with debugging, could you:
Next time it happens, open Developer Tools (Help → Toggle Developer Tools), check the Console tab for errors, and paste them here
About the OOM: after long idle time this could be a memory leak. Did you notice memory usage climbing during active Agent use, or did the OOM happen only while Cursor was idle?
The OOM was discovered after the computer had been in screen-off / sleep state around noon.
When I woke the screen, Cursor was already showing the OOM error.
Before the screen was turned off, there were no large programs running.
Cursor was idle at that time (no active Agent tasks or interactions).