Skip to content

Any self-contained terminal? #4414

Answered by jerch
iliakan asked this question in Q&A
Feb 16, 2023 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

As far as I am aware there is no ready-to-go solution w'o flaws for pure in-browser handling with xterm.js. There mainly 2 big issues behind it - first the missing pty implementation, and second a shell variant resembling typical key stroke pattern one might expect to work.
You are pretty much on your own here beside those solutions pointed out by @Tyriar here #4404 (comment) or the one you mentioned above.

I started https://github.com/jerch/browser-fakepty out of curiosity, how far I'd get with that in pure browser realms, but it is nothing more than a toy experiment atm. While one can get somewhere with that approach, it still needs serious coding efforts to get the basics straight. As …

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jerch
Comment options

@iliakan
Comment options

@jerch
Comment options

@iliakan
Comment options

@jerch
Comment options

Answer selected by Tyriar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants