Shift+Enter on "Submit from a previous message?" dialog triggers Revert instead of Don't revert

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When editing and resubmitting an earlier chat message, the “Submit from a previous message?” dialog appears with three options: Cancel (Esc), Don’t revert (labeled shortcut: Shift+Enter), and Revert (labeled shortcut: Enter).

Expected: Shift+Enter triggers “Don’t revert” (resubmit while keeping current file changes). Enter triggers “Revert”.

Actual: Pressing Shift+Enter incorrectly triggers Revert (files are rolled back). Clicking the “Don’t revert” button works correctly.

This appears to be a keyboard shortcut bug where the Shift modifier is ignored and Enter alone fires the default Revert action.

Steps to Reproduce

  1. Start an Agent chat and let it make file changes.
  2. Scroll up and edit an earlier user message.
  3. Submit the edited message.
  4. When the “Submit from a previous message?” dialog appears, press Shift+Enter.
  5. Observe that file changes are reverted (same as clicking Revert).
  6. Repeat, but click “Don’t revert” instead — file changes are preserved.

Expected Behavior

Shift+Enter should trigger “Don’t revert” and keep all current file changes, matching the button label and shortcut hint shown in the dialog.

Operating System

MacOS

Version Information

Cursor Version: 3.14.7
OS: macOS (Darwin 24.6.0)

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hi @Harikrishnan_Vijayak Thanks for this report! This was previously an issue on prior Cursor builds and has since been fixed. I tried to replicate using the exact version you specified and I could not reproduce the problem → confirming this has been fixed. Please update your Cursor to the latest version and try it again. If you still see the problem let us know and please share a request ID if you can. This will allow us to investigate further. Please also kindly disable privacy mode before replicating the problem, if it still exists.

Thanks @kevinn — confirmed fixed on my side after updating to Cursor 3.15.6.

I retested the “Submit from a previous message?” flow: Shift+Enter now correctly triggers Don’t revert (files stay as-is), and clicking the button still works as expected. The behavior matches the shortcut label in the dialog.

Environment (working):slight_smile: - Cursor 3.15.6 (Stable)

  • macOS Darwin arm64 24.6.0

Appreciate the quick follow-up — happy to close this out.

Awesome thanks!