From 6181262c76e53fefe2f1e5eb370ab6f9f36c68c3 Mon Sep 17 00:00:00 2001 From: Felipe Gasper Date: Mon, 11 Sep 2017 22:39:13 -0400 Subject: [PATCH] remove debug changes --- demo/main.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/demo/main.js b/demo/main.js index 38124de7..f1245cb0 100644 --- a/demo/main.js +++ b/demo/main.js @@ -90,7 +90,7 @@ function createTerminal() { socketURL = protocol + location.hostname + ((location.port) ? (':' + location.port) : '') + '/terminals/'; term.open(terminalContainer); - //term.fit(); + term.fit(); // fit is called within a setTimeout, cols and rows need this. setTimeout(() => { @@ -199,7 +199,6 @@ function handleWSMessage(evt) { if (zsession) { zsession.set_sender( (octets) => { - //socket.send( String.fromCharCode.apply(String, octets) ); socket.send( new Uint8Array(octets) ); } );