Cursor agent mode - when running terminal commands often hangs up the terminal, requiring a click to pop it out in order to continue commands

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 :confused: