document utf8 switch in client.ts

This commit is contained in:
Jörg Breitbart
2019-05-13 01:24:41 +02:00
parent 6fd5cdd8f1
commit 53167df1a8
+7
View File
@@ -149,7 +149,14 @@ 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;
}