Agent cannot detect cli completion

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

I am working on Windows in WSL terminal with Python venv or docker/docker compose.

Cursor agent (any model) in 50% of the cases cannot recognize the completion of command it is executing via terminal. For example:

```

ubuntu@user:/path/$ docker compose ps
results

ubuntu@user:/path/$
```

At this point the agent is stuck still waiting for a response…
Clicking on skip sometimes helps (after a few times), but many times it is just trying to run the same command again.

It feels like the agent is unable to recognize the command line.

Most of the times it is trying to cd into project internal directory, even though it is already in this directory.

Steps to Reproduce

Any request involving execution of multiple cli commands gets stuck

Expected Behavior

Recognize that a simple immediate command ends, when cli prompt appears.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.4.5 (system setup)
VSCode Version: 1.99.3
Commit: af58d92614edb1f72bdd756615d131bf8dfa5290
Date: 2025-08-13T02:08:56.371Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22631

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor