remove debug changes

This commit is contained in:
Felipe Gasper
2017-09-11 22:39:13 -04:00
parent 91aa8c51fc
commit 6181262c76
+1 -2
View File
@@ -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) );
} );