Describe the Bug
Some terminal commands in Cursor cause the shell to hang indefinitely. It happens with any command that expects continuous output or stream processing (like docker logs -f
, java -jar
, ps -f
). Cursor seems to wrap or sandbox the terminal, and sometimes it doesn’t handle STDIN/STDOUT properly, leading to hangs.
Also, GPT suggestions are sometimes auto-applied without my confirmation. I couldn’t find any working documentation or toggle for “YOLO mode”, so I don’t know if it’s officially supported or experimental.
Steps to Reproduce
-
Open any integrated terminal in Cursor (Windows 11, Command Prompt profile)
-
Run any of the following long-running commands:
timeout 20 && docker ps -a | findstr user-service
docker logs -f <container>
psql -U postgres -d metrics -c '<SQL>'
java -jar service.jar
-
Observe how the terminal becomes unresponsive and the agent hangs.
-
Also try editing code where GPT would normally suggest a change. In some cases, the suggestion applies automatically without confirmation (suspected “YOLO mode”).
Expected Behavior
- Terminal should remain interactive and never hang indefinitely, even for commands that expect input or stream output.
- Commands like
docker logs -f
orpsql
should be interruptible (Ctrl+C) and should not freeze Cursor or the GPT agent. - If any “YOLO mode” exists, it should be explicitly documented and toggled manually — GPT suggestions must never apply automatically without consent.
terminal.integrated.defaultProfile.windows
setting should correctly define the shell used and not cause STDIN/STDOUT issues.- Cursor should never push code remotely unless the user explicitly confirms it.
Screenshots / Screen Recordings
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 1.2.2 (user setup)
VSCode Version: 1.99.3
Commit: faa03b17cce93e8a80b7d62d57f5eda6bb6ab9f0
Date: 2025-07-07T06:19:13.016Z
Electron: 34.5.1
Chromium: 132.0.6834.210
Node.js: 20.19.0
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100
Additional Information
Only the auto-run from GUI works reliably — but that’s not enough. Some commands freeze even when they’re short-lived. Tried multiple shells, profiles, and even resetting the GPT agent — no effect. Also added "cursor.experimental.yoloMode": true
manually, but no difference, and couldn’t find any docs on that setting.
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor