Is it that part of the system end up using user-config files when initializing the terminal/shell? That seems to be the most likely explanation for it working for some users and not for others.
Now it seems like black magic how the whole thing works. Just documenting how the integration works would help a ton.
—
EDIT: for me it manages to run commands, but get stuck in the terminal shell. If I manually press “Cancel” Cursor issue a ctrl-c in the terminal and it continues as normal.
EDIT: version 1.6.42 (linux)
EDIT: most debugging also require me spending money issuing commands to the agent which is not really ok (even though it’s small sums)
EDIT: tried to reset my settings (removed settings.json). Then it works. Switching back to my original settings. Still works. Black magic
I’m having a similar issue. In my case, the terminal shows the command to run, but just stops. It occurs in both IDE and cursor-cli when I’m using Coder, but if I try it locally (on macOS), it doesn’t happen. Now, I’m almost switching back to Copilot, since Cursor became almost useless for agentic coding.
Oh, this worked so well. This is going to save me hundreds, if not thousands, of calls and a lot of headache. Maybe in the future we might even get a fix for it! It’s been a while now since agentic mode was launched, but who knows, one day…
same problem here in linux cli i cannot run server start is just hangs. the I have to press ctrl+c to stop the ai constantly, also its a shame that they chose crtl+c for stop rather than escape (like claude code) as if i hit it twice then the agent quits, and then we have to restart from scratch.
I can confirm that the terminal no longer freezes in Cursor 1.7!
The only issue remaining is curl hanging on Windows, but that’s likely related to curl itself.
Issue isn’t resolved by the way. Terminal will still hang in many Git command processes, like especially ones that are viewing diffs and it has to scroll down, or if you’re in a Docker container and it’s reading logs, it won’t exit out of that. Many such instances.
IMm still getting the issue consistently with version 1.7.44. It oftne hangs in agent mode and i have to move to a terminal and press enter.
Here is the lst one the agent tried to run and it just sat there unitl i moved it to an external terminal and press enter:
$process = Get-NetTCPConnection -LocalPort 8003 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty OwningProcess -First 1; if ($process) { Stop-Process -Id $process -Force; Write-Host “ Stopped old service (PID: $process)” -ForegroundColor Green; Start-Sleep -Seconds 2 } else { Write-Host “ No service running on port 8003” -ForegroundColor Gray }