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

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.