How they made the terminal


#1

I am an enthusiastic javascript developer just like many others and I can’t find an explanation anywhere on how the cloud9 team made the terminal part of the app. I have tried numerous methods but getting the functionality and having the caret styled as it is seems almost impossible. If anyone has any ideas on how this was done I would love to hear them!


#2

It uses pty.js and tty.js https://github.com/chjj/pty.js https://github.com/chjj/tty.js
https://github.com/c9/core/tree/master/plugins/c9.ide.terminal


#3

How can we use this terminal? Like implement it as a library?


#4

Thanks for the help!