simplify attach addon

This commit is contained in:
Jörg Breitbart
2019-09-22 22:33:55 +02:00
parent 322565807b
commit d34d1f56cb
6 changed files with 14 additions and 32 deletions
-7
View File
@@ -167,14 +167,7 @@ function createTerminal(): void {
}
function runRealTerminal(): void {
/**
* The demo defaults to string transport by default.
* To run it with UTF8 binary transport, swap comment on
* the lines below. (Must also be switched in server.js)
*/
term.loadAddon(new AttachAddon(socket));
// term.loadAddon(new AttachAddon(socket, {inputUtf8: true}));
term._initialized = true;
}