I need a demo of tty.js client side that does two things
[x] Connect a termanl to localhost, and render it into a
. All code for this is somewhere in that tty.js demo.
[ ] Secondary - Allow me to control a terminal from JS. Don't care how hacky it is. For the demo just use the Chrome CLI to send it text and spit the output to console.log If this is too hard to do (doubt it) we can just use a 'home-rolled' version of it for Forge commands.
I need a demo of tty.js client side that does two things