Input disappears unexpectedly when editing a chat message after I press escape

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

When the user edits an older chat message with the intention to revert, if Esc key is pressed accidentally the whole input resets. This is inconvenient (text input loss).

Steps to Reproduce

open any chat and edit a past message, then press escape

Expected Behavior

Please make it so that a confirmation dialogue appears before the text is los

Operating System

Linux

Version Information

Version: 3.15.6
VS Code Extension API: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
Date: 2026-08-06T01:41:03.876Z
Layout: IDE
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Linux x64 6.8.0-106-generic

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report. This is a known issue. When you edit a previously sent message, pressing Esc or clicking outside the edit field clears what you typed without warning. I agree it’s way too easy to trigger. We’re tracking it, but I can’t share an exact timeline yet.

For now, the workaround is to copy your text before you press Esc or click outside the edit field.

I’ll post an update here if I hear more.