To-do list agent wipes out chat textarea if a task completes while typing

Describe the Bug

If you are in the middle of typing a message to queue it for the agent for the next task, and the agent happens to complete a previously queued task at the same time, the user-typed message is wiped out.

Steps to Reproduce

Ask the agent to start a to-do list and provide with at least one task
Submit the prompt
Start typing another prompt to queue up the next task but don’t submit it
Wait for the agent to complete the current running task
The typed prompt will be erased

Expected Behavior

The typed prompt should not be erased

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.1
VSCode Version: 1.99.3
Commit: 031e7e0ff1e2eda9c1a0f5df67d44053b059c5d0
Date: 2025-07-03T06:06:37.704Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Additional Information

I think this might have been missed since typically tasks added to a queue are quick to type and submit. The problem clearly reveals itself when you’re in the middle of typing a particularly long task description

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor