Cursor not detecting the termination of a bash command

Describe the Bug

Whenever Cursor tries to run a command by itself, once the command finished, Cursor won’t understand that the command it ran is actually terminated and it has to move on. Making it impossible to keep going on the thread.
Might be related to the terminal itself ? I’m using zsh

Steps to Reproduce

You probably need to use iterm2 and zsh

Expected Behavior

Cursor should figure out that the command is actually terminated and should keep going. It still believes the bash command is running.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.1.3
VSCode Version: 1.96.2
Commit: 979ba33804ac150108481c14e0b5cb970bda3260
Date: 2025-06-15T06:35:49.230Z
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.3.0

Does this stop you from using Cursor

No - Cursor works, but with this issue