Request: add the option to use xterm.js as terminal
Im just leaving this before i forget.
How about an option to use xterm as a terminal for the Cubot. This is probably a bit more work than the current terminal since it is an actual terminal emulator instead of just text IO.
The advantage would be the option to write a more sophisticated terminal application like a shell. This could complement the input/output functionality there already is.
Any opinions?
I talked with Kevin on the slack channel, so the goal would be to replace the current PlainTextConsole with xterm.js, which would enable additional "cursor moving magic and voodoo" that could be done with ANSI escape codes.
handleConsoleBufferUpdate, reset, and toggleColor should be fairly straightforward to implement with xterm.js, and auto scrolling should be quite easy to do with xterm.scrollToBottom() on update.