Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paste from other programs only over one line and not multiple #1108

Closed
srvh opened this issue Apr 29, 2024 · 18 comments
Closed

Paste from other programs only over one line and not multiple #1108

srvh opened this issue Apr 29, 2024 · 18 comments
Assignees
Labels
🐛 bug Something isn't working
Milestone

Comments

@srvh
Copy link

srvh commented Apr 29, 2024

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.

@isontheline
Copy link
Owner

Hello @srvh 👋

Thanks for reporting this bug of WebSSH 🙏

I'm adding it to the TODO list

@isontheline isontheline self-assigned this Apr 29, 2024
@isontheline isontheline added the 🐛 bug Something isn't working label Apr 29, 2024
@isontheline isontheline added this to the 26 - Train milestone Apr 29, 2024
@srvh
Copy link
Author

srvh commented May 24, 2024

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.

@isontheline
Copy link
Owner

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
Copy link
Owner

Image

@isontheline
Copy link
Owner

@srvh Please check this setting inside your trouble connection :

Image

Adjust if needed

@srvh
Copy link
Author

srvh commented May 24, 2024

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
Copy link
Author

srvh commented May 24, 2024

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.

@isontheline
Copy link
Owner

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 :(

@srvh
Copy link
Author

srvh commented May 24, 2024

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

@isontheline
Copy link
Owner

I'm using CMD + V and not right button

@isontheline
Copy link
Owner

I'm double checking anyway

@srvh
Copy link
Author

srvh commented May 24, 2024

Is there any settings which can lead this situation?

@isontheline
Copy link
Owner

I don't think. I'm looking at #863 if any regression could be involved

@srvh
Copy link
Author

srvh commented May 24, 2024

I am using macOS 13.6.6 if it is important.

@isontheline
Copy link
Owner

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
Copy link
Owner

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

@srvh
Copy link
Author

srvh commented May 24, 2024

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

@isontheline
Copy link
Owner

Glad to hear that ;)

Thank you for your strong feedback!

@isontheline isontheline changed the title Paste from other programs on one line Paste from other programs only over one line and not multiple May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants