Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
When starting a new session with an Agent (via the Agents Window) and drafting a message in the input box of a New Agent (CTRL + N), switching to view other previous agent chats and then returning to the new agent tab causes the drafted text to disappear. The text area is reset, and any unsent drafted content is permanently lost instead of being preserved in the input state.
Steps to Reproduce
Open the Agents Window in Cursor.
Click to start a new Agent chat session (opening a blank, unsent agent tab).
Type some text into the input field (do not press Enter / Send).
Click on any of your previous chats with agents in the chat history sidebar to view them.
Click back on the “New Agent” tab or button to return to the active draft.
Observe that the text input is completely empty and the drafted message has been lost.
Operating System
Windows 10/11
Version Information
Version: 3.5.33 (user setup)
VSCode Version: 1.105.1
Commit: aac81804b986d739acab348ed96b8bea6e83cc50
Date: 2026-05-22T06:47:48.039Z
Layout: editor
Build Type: Stable
Release Track: Default
Electron: 39.8.1
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
OS: Windows_NT x64 10.0.22631
Does this stop you from using Cursor
No - Cursor works, but with this issue