shell-bot icon indicating copy to clipboard operation
shell-bot copied to clipboard

Multiline input doesn't work for /run | /r

Open Akianonymus opened this issue 5 years ago • 4 comments

For example:

/run echo 1
echo 2

Outputs nothing

Expected output:

1
2

Akianonymus avatar Jun 26 '20 08:06 Akianonymus

/r echo 1 && echo 2?

hrvstr avatar Jun 26 '20 08:06 hrvstr

@hrvstr Well, obviously that will work, and use semi colons will also work, but the issue title says 'multiline'

Akianonymus avatar Jun 26 '20 09:06 Akianonymus

Okay, I just wanted to point out options to get the desired results.

hrvstr avatar Jun 26 '20 09:06 hrvstr

/r echo 1 $'\n' 2 $'\n' 3 $'\n' 4 ...

That's my solution.

xinxin8816 avatar Jul 23 '20 02:07 xinxin8816