Terminal command tries to execute an unknown command named "q" in the terminal

Describe the Bug

For some time now Cursor tries to execute a command named “q” on the terminal, sometimes paired with ^C at seemingly random places. My shell is fish and the terminal profile is set to fish.

Steps to Reproduce

The most recent time I saw it, I was using chat to instruct Cursor (with “Auto” model), to generate a Django test. Executing tests requires DB migrations to be applied, and this is a big project with a large number of migrations, so they take a long time.

Expected Behavior

Cursor doesn’t execute the missing command “q”, and it doesn’t send Ctrl-C signals to stop the started process randomly.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
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

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor

2 Likes

This is related to this issue posted yesterday:

2 Likes

I have that same problem. Cursor works but it interferes with command execution.

Same version as OP:
Version: 1.2.4 (user setup)
VSCode Version: 1.99.3
Commit: a8e95743c5268be73767c46944a71f4465d05c90
Date: 2025-07-10T17:09:01.383Z
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

Hi everyone here, the issue is being worked on by Cursor Team.

I think we also have a few duplicate posts on this so the efforts on communicating this properly becomes a bit more tricky. May merge a few threads so you get latest info.

here are similar cases

2 Likes

See also two related issues I’ve posted:

  1. Cursor must not decide when to time-out and stop terminal commands on its own
  2. Cursor agent hangs executing terminal commands after about 5 commands

They might be related to the q^C issue because they are about interaction with terminal processes.

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