continue icon indicating copy to clipboard operation
continue copied to clipboard

Terminal command parsing

Open chezsmithy opened this issue 6 months ago • 1 comments

Validations

  • [x] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [x] I'm not able to find an open issue that requests the same enhancement

Problem

The current terminal command parsing for the send to terminal button assumes the command is on the first line. Some suggested terminal commands span multiple lines and are more complex.

Also sometimes there are multiple terminal commands in a single response.

Solution

Improve the parsing logic to find the entire terminal command.

Improve the system message to always split the suggested commands into separate blocks if possible.

chezsmithy avatar Apr 27 '25 16:04 chezsmithy