# Agents terminal hang in

**URL:** <https://forum.cursor.com/t/agents-terminal-hang-in/144506>\
**Category:** Bug Reports\
**Created:** [November 27, 2025, 8:44pm UTC](https://forum.cursor.com/t/agents-terminal-hang-in/144506 "2025-11-27T20:44:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andy\_Skiba](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Andy\_Skiba](https://forum.cursor.com/u/Andy_Skiba)\
**Post date:** [November 27, 2025, 8:44pm UTC](https://forum.cursor.com/t/agents-terminal-hang-in/144506/1 "2025-11-27T20:44:24Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

Good afternoon.

I’m still having the issue with the agent terminal freezing. I’m sure this is the case for many. But I’d like to point out that the freezing is related to the allowlist: if it’s large enough, the issue occurs, but if you clear it, it goes away. I hope this helps you solve this problem.

### Steps to Reproduce

fill allowlist with a lot of allowed commands  
give agent a task to do something in terminal  
issue occures randomly

### Expected Behavior

agent is waiting for terminal command finish continious

### Operating System

Windows 10/11

### Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.1.39 (user setup)  
VSCode Version: 1.105.1  
Commit: 60d42bed27e5775c43ec0428d8c653c49e58e260  
Date: 2025-11-27T02:30:49.286Z  
Electron: 37.7.0  
Chromium: 138.0.7204.251  
Node.js: 22.20.0  
V8: 13.8.258.32-electron.0  
OS: Windows\_NT x64 10.0.26200

### For AI issues: which model did you use?

Sonnet 4.5

### Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [November 28, 2025, 8:21am UTC](https://forum.cursor.com/t/agents-terminal-hang-in/144506/2 "2025-11-28T08:21:51Z")

</div>

Hey, thanks for the report.

This seems related to a known issue with command completion detection in Windows, where the agent doesn’t recognize that commands have finished. Your note about the allowlist size being a factor is new and valuable.

Could you please share:

- Request ID with privacy disabled: [Getting a Request ID | Cursor Docs](https://docs.cursor.com/troubleshooting/request-reporting)
- Screenshot showing the frozen state
- Which shell you’re using (PowerShell, CMD, Git Bash, etc.)
- Approximate number of commands in your allowlist

Potential workaround:

- Open Cursor Settings `Ctrl+,` → Agents → Inline Editing & Terminal
- Toggle “Legacy Terminal Tool” (try both enabled and disabled)
- Press `Ctrl+Shift+P` → “Terminal: Kill All Terminals”
- Fully restart Cursor and test

This workaround has helped other Windows users with similar hanging issues. Let me know if toggling the Legacy Terminal Tool setting helps.

---

<div class="post-metadata">

**Author:** ![Andy\_Skiba](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@Andy\_Skiba](https://forum.cursor.com/u/Andy_Skiba)\
**Post date:** [November 28, 2025, 11:10am UTC](https://forum.cursor.com/t/agents-terminal-hang-in/144506/3 "2025-11-28T11:10:25Z")

</div>

97550048-7f87-4d49-9bda-bff02732d335

 ![2025-11-28_14-02-20](https://us1.discourse-cdn.com/cursor1/original/3X/b/a/ba154ce79a0fa81fd5ebf5bfb396fa0202aae21a.jpeg)

Im using PowerShell.

It seems I was a bit hasty in linking the allowlist to these freezes. Clearing the allowlist fixed the issue for a while, but now it’s back, even with an empty list.

toggling the Legacy Terminal Tool setting doesn’t helps.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/127254_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [December 20, 2025, 11:11am UTC](https://forum.cursor.com/t/agents-terminal-hang-in/144506/4 "2025-12-20T11:11:03Z")

</div>

Closed on December 20, 2025, 11:11am UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
