diff --git a/demo/client.ts b/demo/client.ts index 685f633b0..f9a6f6ff4 100644 --- a/demo/client.ts +++ b/demo/client.ts @@ -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; } diff --git a/demo/server.js b/demo/server.js index 718327e42..823dc6c6d 100644 --- a/demo/server.js +++ b/demo/server.js @@ -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() {