When the Agent mode calls the Terminal to execute a command, it automatically prepends ‘q’ or ‘q^C’ to the command, causing the command to fail execution.
This issue occurs when using either PowerShell or Git Bash for the Terminal program.
This problem has persisted across multiple versions, starting from Cursor 1.7.* up to the current 2.1.*
Steps to Reproduce
This issue occurs intermittently (irregularly) when the Agent mode calls the Terminal to execute a command, but the overall frequency of occurrence is very high.
This does work, but I’m puzzled by it. A few days ago, it worked perfectly with PowerShell. Then, after the update, it stopped working. I hope you can avoid this situation during the update process.
Thanks for confirming that the Legacy Terminal Tool workaround works! I understand your concern about the regression after updates.
The team is aware that the new terminal implementation on Windows has ongoing issues affecting multiple users. I’m escalating this specific ‘q’ prepending bug to engineering because:
It’s a regression that appeared after updates (worked in earlier versions)
It consistently affects both PowerShell and Git Bash
The Legacy Terminal Tool workaround confirms it’s specifically the new implementation
For now, please keep the Legacy Terminal Tool enabled. The engineering team will work on making the new terminal implementation stable for Windows so you won’t need this workaround in future updates.