Edits to terminal commands ignored

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

If the agent (in the editor view) prompts you with a command and you change the command before approving it, the original command will be executed.

Steps to Reproduce

  1. Do something that makes Cursor want to run a command (i.e. ask it to execute tests)
  2. Change the command it wants to run

Expected Behavior

The modified command should be used

Screenshots / Screen Recordings

Operating System

Linux

Current Cursor Version (Menu → About Cursor → Copy)

Version: 2.2.7
VSCode Version: 1.105.1
Commit: c7365150b3b3d35fd5f6504a5686fb9ea5eea3b0
Date: 2025-12-10T03:22:51.748Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.12.48-1-MANJARO

Additional Information

In the screenshot you can see that the agent proposed “cargo test” and I changed it to “ls”, but it executed “cargo test” anyway

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

You’re on version 2.2.7, while the current version is 2.2.20. Could you update to the latest version (Help → Check for Updates) and see if the issue still reproduces?

If the bug persists on 2.2.20, let me know - I’ll pass it to the dev team to fix.

Hi Dean, thanks for the response.

I updated to the newest version and still faced the issue:

Version: 2.2.20
VSCode Version: 1.105.1
Commit: b3573281c4775bfc6bba466bf6563d3d498d1070
Date: 2025-12-12T06:29:26.017Z
Electron: 37.7.0
Chromium: 138.0.7204.251
Node.js: 22.20.0
V8: 13.8.258.32-electron.0
OS: Linux x64 6.12.48-1-MANJARO

Below you can see a screenshot where I recreated it again, with a different command

1 Like

Thanks for the info. I’ll pass it to the team.