Xshell Forum

Feature Req. Button > Quick Command

Last post: Thursday, March 24, 2016 11:18 PM by Support, 1 reply

Monday, March 21, 2016 5:43 PM - Adam

Feature Req. Button > Quick Command

Add a Button > Send the following text:
This is currently an input box, could this be changed into a text box?

The input box currently, supports a 1 line command.
So in a simple scenario.
"apt-get update -y"
"apt-get upgrade -y"

This would consist of 2 buttons. If the input would support a multi-line entry then it would be 1. In this case we can simply out an && but this doesn't apply to all scenarios.
It may be difficult with your current QBL file to parse line breaks but its still doable. This scenario would look like this.
Text_0=apt-get update -y
apt-get upgrade -y

Yes, I am aware of the txt file option.
Paste contents from the following text file : ...
Which is what im currently using, but the new feature would be a great convenience.

Program Ver. : Xshell 5
Thursday, March 24, 2016 11:18 PM - Support

Re: Feature Req. Button > Quick Command

The input box can recognize the new line character '\n'.

You can write it into the box as such:

apt-get update -y\napt-get upgrade -y

We will consider changing it to a text box in which the editing of multiple lines is possible.

Technical Support

Like us on Facebook
Follow us on Twitter
Visit our blog Blog