-
-
Notifications
You must be signed in to change notification settings - Fork 567
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
any hint or possibility to use tview on server? #478
Comments
I created sshtargate to accomplish this for SSH connections by creating a pseudo-terminal and then copying between the input/output of the pty and the SSH connection. https://gitlab.com/tslocum/sshtargate/-/blob/master/portal/portal.go |
Linked sources does not seem to use tview, nor tcell at all. Allocating OS pty should not be required for this task, just to wrap ssh channel ReadWriteCloser with Sadly tcell's gdamore/tcell#479 hopefully should provide such means in form of |
The previously mentioned function was merged, so I decided to try it out with an integration example using gliderlabs/ssh and it works! |
I mean to develop a telnet server using tview, and use telnet client to connect to such server resposing with tview terminal ui ?
tview.NewApplication().SetRoot(box, true).Run()
will output the tview ui on the server directlyThe text was updated successfully, but these errors were encountered: