default to string transport

This commit is contained in:
Jörg Breitbart
2019-05-13 01:41:51 +02:00
parent 67be8c36e7
commit 1a596f9608
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -154,8 +154,8 @@ function runRealTerminal(): void {
* 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.loadAddon(new AttachAddon(socket));
//term.loadAddon(new AttachAddon(socket, {inputUtf8: true}));
term._initialized = true;
}
+1 -1
View File
@@ -7,7 +7,7 @@ var pty = require('node-pty');
* Whether to use UTF8 binary transport.
* (Must also be switched in client.ts)
*/
const USE_BINARY_UTF8 = true;
const USE_BINARY_UTF8 = false;
function startServer() {