Agent doesn't see Legacy Terminal if Terminal hangs

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

In rare cases, Legacy Terminal freezes after executing a command. This is an old bug, and one of the reasons Cursor Team created a new terminal.

I’m not asking for this bug to be fixed, but the problem is that if you simply press Enter inside the terminal, the terminal will finished, but the Agent will receive an empty output. In other words, he will not receive the entire output from start of running his command, but only the output of the last terminal command.

Steps to Reproduce

A chaotic Legacy Terminal bug that does not depend on a specific output.

Expected Behavior

User presses Enter in the frozen terminal, the terminal closes with exit 0 and the Agent receives the output of its command (the output of the last two terminal commands).

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.3.21 (system setup)
VSCode Version: 1.105.1
Commit: 68e0a0385b87408d050869ea543e3778ad53f780
Date: 2026-01-02T23:46:13.381Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Windows_NT x64 10.0.22631

For AI issues: which model did you use?

any

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor