Skip to content

Where can I find the source code for the example on https://xtermjs.org? #5032

Answered by jerch
AuroraTea asked this question in Q&A
Discussion options

You must be logged in to vote

The website source is located here: https://github.com/xtermjs/xtermjs.org
and the terminal js stuff in particular here: https://github.com/xtermjs/xtermjs.org/blob/master/js/demo.js

But allow me to place an upfront warning here - if you dont connect the terminal to an actual PTY, things will get quite hairy and low-levellish, down to writing single byte inspection for line editing and such in your handlers. Things we take for granted on terminals - you have to implement it yourself.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AuroraTea
Comment options

Answer selected by AuroraTea
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