When I have both the Agents window and the IDE window open, closing the Agents window also closes the terminal running inside the IDE.
This immediately terminates any running processes in that terminal (e.g. npm run dev, Docker commands, build scripts, etc.), even though the IDE itself remains open.
Steps to Reproduce
Open both the Agents window and the IDE window.
Open a terminal in the IDE.
Start a long-running process (for example npm run dev).
Close the Agents window.
The terminal in the IDE closes automatically and the running process is killed.
Expected Behavior
Closing the Agents window should have no effect on terminals opened in the IDE. The terminal should remain open and any running processes should continue running.
Screenshots / Screen Recordings
Not attached yet. I can provide a screen recording if needed.
This happens every time on my machine (100% reproducible).
The IDE itself stays open; only the terminal is closed. This is especially disruptive because it unexpectedly kills development servers and other long-running commands.
For AI issues: which model did you use?
Model name (e.g., Sonnet 4, Tab…)
For AI issues: add Request ID with privacy disabled
Request ID: f9a7046a-279b-47e5-ab48-6e8dc12daba1
For Background Agent issues, also post the ID: bc-…
Additional Information
Add any other context about the problem here.
Does this stop you from using Cursor?
Yes - Cursor is unusable
Sometimes - I can sometimes use Cursor
No - Cursor works, but with this issue
The more details you provide, the easier it is for us to reproduce and fix the issue. Thanks!