Mac, Ghostty terminal. I must hold shift to select text. When I paste it, it includes pipe operators that have been used as part of the terminal design.
Eg this:
will be this when pasted:
echo "Starting multi-step process..." && \ ┃
┃ ls -la && \ ┃
┃ echo "Current directory contents listed" && \ ┃
┃ pwd && \ ┃
┃ echo "Process completed successfully"
I may be doing something dumb. If not I'm happy to look into a PR for this, maybe by adding a copy button etc. Personally I do prefer to copy and use the commands myself sometimes rather than let the agent execute, especially if it's going to be a long running command or is going to have output I want to inspectg.
Mac, Ghostty terminal. I must hold shift to select text. When I paste it, it includes pipe operators that have been used as part of the terminal design.
Eg this:
will be this when pasted:
echo "Starting multi-step process..." && \ ┃
┃ ls -la && \ ┃
┃ echo "Current directory contents listed" && \ ┃
┃ pwd && \ ┃
┃ echo "Process completed successfully"
I may be doing something dumb. If not I'm happy to look into a PR for this, maybe by adding a copy button etc. Personally I do prefer to copy and use the commands myself sometimes rather than let the agent execute, especially if it's going to be a long running command or is going to have output I want to inspectg.