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

**URL:** <https://forum.cursor.com/t/input-disappears-unexpectedly-when-editing-a-chat-message-after-i-press-escape/169146>\
**Category:** Bug Reports\
**Tags:** chat\
**Created:** [August 22, 2026, 9:54am UTC](https://forum.cursor.com/t/input-disappears-unexpectedly-when-editing-a-chat-message-after-i-press-escape/169146 "2026-08-22T09:54:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![klntsky](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/klntsky/32/64260_2.png) [@klntsky](https://forum.cursor.com/u/klntsky)\
**Post date:** [August 22, 2026, 9:54am UTC](https://forum.cursor.com/t/input-disappears-unexpectedly-when-editing-a-chat-message-after-i-press-escape/169146/1 "2026-08-22T09:54:44Z")

</div>

### 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

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [August 22, 2026, 10:02am UTC](https://forum.cursor.com/t/input-disappears-unexpectedly-when-editing-a-chat-message-after-i-press-escape/169146/5 "2026-08-22T10:02:12Z")

</div>

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.
