Another workaround that helped me.
My issue is that sometimes the chat editor freezes and makes me unable to write. Creating a new chat kinda fixes it, but then most of the basic text editing functionality stops working properly (copy/paste, shift+enter, selecting and deleting in the middle of a string, etc.)
I figured, it’s something to do with workplace data, so I deleted files workplace files and it fixed the issue. Not sure for how long, i’ll post an update on this.
Try deleting files in directories below and see if that helps. WARNING: It will delete all your chat history!
Windows: %APPDATA%\Cursor\User\workspaceStorage
macOS: ~/Library/Application Support/Cursor/User/workspaceStorage
Linux: ~/.config/Cursor/User/workspaceStorage
Source How can I clear all history in Cursor at once - #8 by deanrie