Terminal hangs due to background process

Thanks for the detailed report!

Could you please update to Cursor 1.7? v1.7 resolved many terminal hanging issues (see here).

If the issue persists after updating, please let us know