tty.js
tty.js copied to clipboard
document.body.appendChild(…) ?
I think it's a little inflexible to have Terminal.prototype.open() use document.body.appendChild(this.element). Perhaps it would be better to have this return this.element, and let the user of this library (and the example code) do document.body.appendChild(term.open()) if they want it appended there.