Warn before closing a non-empty prompt

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cmd + W closes without warning even though the prompt contains text - the prompt is then lost forever.
It would be great to have a confirmation since the prompt can be long and can take a while to prepare and write.

Steps to Reproduce

Click the new prompt button and write a prompt. Do the Cmd+W shortcut. Expected the prompt to be killed without confirmation.

Expected Behavior

Cmd+W should either: never close a prompt window (cmd+w should be for open files)
Or, ask before closing a prompt that was not saved yet

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.43
VSCode Version: 1.105.1
Commit: 32cfbe848b35d9eb320980195985450f244b3030

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a valid request to improve the UX.

We already have a related issue about losing prompt drafts that the team is looking into. Your case with Cmd+W is a separate scenario that we should consider too.

For now, please be careful with Cmd+W in the chat window, since it really does close the window without a confirmation prompt.

I’ll share this request with the team for review.

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.