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

I’m having the same issue, however I have a “Cancel and resume” button. It kicks it back into gear but it’s annoying. For me it was working fine most of the day and then started hanging. Mostly happens with cargo commands (using Rust) like cargo test.