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

[post] Write a web terminal in go using websocket #39

Open
at15 opened this issue Jan 6, 2019 · 0 comments
Open

[post] Write a web terminal in go using websocket #39

at15 opened this issue Jan 6, 2019 · 0 comments
Assignees

Comments

@at15
Copy link
Member

at15 commented Jan 6, 2019

Type

  • request post from @at15

Related

Description

My ubuntu is too old and guake does not support split screen terminal in that version, so I decided to use one in browser. Also was working on udash example ...

The key of a web terminal is ... add a \n if the input does not have one, otherwise you will only read what you write (because a pseudo terminal is actually a file /dev/ptmx) and without a \n bash don't take any action .... (took me a while to figure it out)

Update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant