Composer chat gets deleted and history not saved if you ctrl + backspace too far

happened to multiple times in the last 24 hours.

I’ll be revising a prompt and if you ctrl back space after theres no text, it removes files, then deletes composer chat and theres no history.

1 Like

Hi @pfapp

Which version of Cursor are you using?

Same thing happened to me yesterday. I’m not sure whether it was before or after I upgraded from 41.3 to 42

This shortcut is meant for rejecting all.

image

control+delete is extremely commonly used in everyday coding and should not be a default shortcut to do something else, especially for any kind of “apply all”, especially one that isnt eligible for undo, imo

2 Likes
      • Highly Note * * *

It is indeed extremely annoying when the chat is constantly deleted by the composer. Consider how important aspects of prompt creation and the most recently sent data can endanger your own project. Please, dear @cursor team, take this very seriously.

I strongly recommend a backup cloud function, where even with the backup cloud function the user has the option of setting a secondary function for the saved chats to block them in order to prevent them from being accidentally deleted.

This provides a significant guarantee and satisfaction for everyone.

3 Likes

I checked this in Cursor 0.42.2, and the history is saved even if you clicked “Reject All.”

I have composer persistence ticked on

using latest version of cursor

still getting a total deletion of the entire composer conversation if you ctrl + backspace when there isn’t text in the composer chat.

I understand you are using ctrl + backspace to reject all but please don’t allow it to also delete the entire conversation. I have a video to show you what I mean if its not clear

1 Like

what happens when you ctrl + backspace in a composer window that has multiple linked files?

Please share the video.

hi pfapp, if you do command backspace on an empty input box, we reset your composer. if you do this by accident, you can do cmd-z on the input box to undo this reset. hope this helps!

I agree with everyone here. I use Ctrl-backspace extensively for deleting words quickly. I lost the whole history of the composer and now too late to find out that ctrl-z can undo it.

This literally acts as deleting your composer conversation history unless people see this post and know ctrl-z to revert. This shouldn’t be default at all, even if it is there should be a prompt to avoid this happening accidentally

2 Likes

Thanks for sharing about ctrl-z. Now that I know this it was too late for me, too. Ugh.

I agree with others, ctrl+z is nice (if you know it) but deleting the entire composer should not be the default behavior at all. This has burned me multiple times. Please remove it!

Deleting a whole composer is a drastic step and the user should have to take significant action to make it happen (e.g. open control panel, click delete icon), not just normal keystrokes in the text field.