pro.webssh.net icon indicating copy to clipboard operation
pro.webssh.net copied to clipboard

Paste from other programs on one line

Open srvh opened this issue 1 year ago • 1 comments

When I copy and paste several commands from another application (Microsoft Word) to WebSSH... Commands like this:

ls -l /etc
systemctl status apache2

Then WebSSH will paste all commands in one line like this: ls -l /etc systemctl status apache2

So these commands are not working correctly. I have servers on Debian 12. I tried to make the same via macOS Terminal, it is working well. So it is not a problem of servers.

Please, fix it.

srvh avatar Apr 29 '24 16:04 srvh

Hello @srvh 👋

Thanks for reporting this bug of WebSSH 🙏

I'm adding it to the TODO list

isontheline avatar Apr 29 '24 18:04 isontheline

It would be great, if you can make it in the nearest time. I bought full version (paid version) and I thought that I will use it instead of the Terminal macOS. But I can not use WebSSH because of this bug. Thanks.

srvh avatar May 24 '24 16:05 srvh

It's working on my side (using Pages instead of Word) even while copying from a web page. I need reproduce steps please.

Does other applications could be used to reproduce the bug inside WebSSH?

isontheline avatar May 24 '24 18:05 isontheline

Image

isontheline avatar May 24 '24 18:05 isontheline

@srvh Please check this setting inside your trouble connection :

Image

Adjust if needed

isontheline avatar May 24 '24 18:05 isontheline

I install WebSSH from App Store. Version is 26.3 (1357). I send you a test screenshot. I do not know how to record video. Just made screenshots of each step and combine in one screenshot. I tried to change Carriage Return to \n and \r\n - no changes. webssh

srvh avatar May 24 '24 19:05 srvh

I have found an addiction. If I use CMD + V button - then it go to one line as on screenshot higher. But if I use right mouse button in WebSSH and then choose Paste, then working well.

srvh avatar May 24 '24 19:05 srvh

On another host (Ubuntu 16) and TextEdit paste also works : paste2

That's strange.

I'm sure the bug could exists but can't reproduce it :(

isontheline avatar May 24 '24 19:05 isontheline

I have found an addiction. If I use CMD + V button - then it go to one line as on screenshot higher. But if I use right mouse button in WebSSH and then choose Paste, then working well.

Check this, please

srvh avatar May 24 '24 19:05 srvh

I'm using CMD + V and not right button

isontheline avatar May 24 '24 19:05 isontheline

I'm double checking anyway

isontheline avatar May 24 '24 19:05 isontheline

Is there any settings which can lead this situation?

srvh avatar May 24 '24 19:05 srvh

I don't think. I'm looking at https://github.com/isontheline/pro.webssh.net/issues/863 if any regression could be involved

isontheline avatar May 24 '24 19:05 isontheline

I am using macOS 13.6.6 if it is important.

srvh avatar May 24 '24 19:05 srvh

I'm making another build with a better check of paste event. The build will be available soon.

I'll come back to you shortly

isontheline avatar May 24 '24 19:05 isontheline

@srvh Please try out WebSSH 26.4.1360 : https://testflight.apple.com/join/QSrBK59z

isontheline avatar May 24 '24 20:05 isontheline

I installed this version. It is working correctly now! I can paste anything via CMD + V.

srvh avatar May 24 '24 20:05 srvh

Glad to hear that ;)

Thank you for your strong feedback!

isontheline avatar May 25 '24 18:05 isontheline