elisescu / tty-share

Share your linux or osx terminal over the Internet.
https://tty-share.com/
MIT License
816 stars 87 forks source link

Scroll the termanil in the browser #11

Closed webmastak closed 3 years ago

webmastak commented 4 years ago

Scrolling in the browser with the mouse brings up commands in the shell history. When for example you execute the ls -al command, it is impossible to scroll up. In the same gotty it is possible to scroll, which is very convenient with commands such as ls.

Also weird scaling of text in the browser. If you expand the terminal or switch to full-screen, the text becomes smaller than if you open the default terminal in size and run tty-share.

webmastak commented 4 years ago

The problem has not been resolved, the application loses all meaning without scrolling!

elisescu commented 4 years ago

I didn't get the chance to do that, @webmastak . As I mentioned in the PR, I don't think the scrolling toggle/option should be anywhere else but on the frontend side. Unfortunately, frontend development is not my strong side, and I won't be able to do it quickly enough. But perhaps it makes sense to have it enabled by default (can't remember why I switched it off as default). I'll make a quick commit with that, and tag it. With the new architecture, the good side is this change will be on the tty-share command itself, and not on the server side.

elisescu commented 4 years ago

Done that here: https://github.com/elisescu/tty-share/releases/tag/v2.1.0