Upgrade to xterm.js 2.6.0

This commit is contained in:
Shuanglei Tao
2017-05-13 19:51:52 +08:00
parent b63ecd0abe
commit 153fc94855
4 changed files with 8 additions and 9 deletions

View File

@@ -48,14 +48,13 @@
});
window.addEventListener('beforeunload', unloadCallback);
term.fit();
term.focus();
});
while (terminalContainer.firstChild) {
terminalContainer.removeChild(terminalContainer.firstChild);
}
term.open(terminalContainer);
term.open(terminalContainer, true);
};
ws.onmessage = function(event) {