Make AI-Generated Terminal Commands Editable

Problem:

  • Generated commands are currently read-only
  • Minor errors require full command regeneration
  • Cannot remove unnecessary chained commands
  • No ability to fine-tune generated commands
  • Wastes time and AI Fast requests on regenerating nearly-correct commands

Proposed Solution:

  1. Make the generated command block editable like a text field
  2. Allow users to:
  • Fix typos or syntax errors
  • Remove unnecessary command chains
  • Adjust flags or parameters
  • Fine-tune the command before execution

Current Flow:

AI: Here's the command (read-only):
mv file.txt /path/to/destination && echo "moved" && ls -la

Proposed Flow:

AI: Here's the command (editable):
[editable text field]
mv file.txt /path/to/destination && echo "moved" && ls -la

Benefits:

  • Reduces need for full command regeneration
  • Saves AI Fast requests
  • Improves user control and efficiency
  • Allows for quick fixes without new AI interactions

I think its already editable

Nope, you can put a cursor inside the command so you can copy it but not actually edit it

Cursor_SZXIPVUakb

it works for me

Im in agent mode, that might be why. Still, i want to be able to edit.

Defitively working for me, just tested.

Hey, I confirm that this works for me as well. It also worked in version 0.44.11 and in the new 0.45.1.

I have never run any terminal command inside of Cursor.

I would rather use my own terminal, scaled to 100% width & height, where I have access to all my other tools.

I just copy/paste the command.

PLUS I then have the command saved in my clipboard monitor history (Arch BTW).


I just checked, and I too, can edit the commands in the teeny tiny terminal box in Cursor/Composer.

I’m on windows…maybe? I just can’t edit my commands. Can highlight and edit them. Im using vscode vim but upon disabling it still not working.

In addition, i cant run or quick-copy old commands. ONce they are used they are dead, if I ran them previously I can pop it out to the terminal and get all the benefits of a semi-full size terminal.

@jjaimealeman thats great if it floats your boat copying and pasting every command, for me that puts a massive roadblock on my speed and starts to defeat the purpose of a tool like composer and starting to just be the chat tab with extra features.