From: Shuanglei Tao Date: Mon, 25 Mar 2019 04:11:36 +0000 (+0800) Subject: html: do not apply winptyCompat addon X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=7ed537a3272d2a42e6f8c862ad57bb4b29e72608;p=ttyd.git html: do not apply winptyCompat addon --- diff --git a/html/js/app.js b/html/js/app.js index 26a253b..16965ff 100644 --- a/html/js/app.js +++ b/html/js/app.js @@ -12,7 +12,6 @@ var Zmodem = require('zmodem.js/src/zmodem_browser'); var Terminal = require('xterm').Terminal; Terminal.applyAddon(require('xterm/lib/addons/fit/fit')); -Terminal.applyAddon(require('xterm/lib/addons/winptyCompat/winptyCompat')); Terminal.applyAddon(require('./overlay')); var modal = { @@ -306,7 +305,6 @@ var openWs = function() { window.addEventListener('beforeunload', unloadCallback); term.open(terminalContainer, true); - term.winptyCompatInit(); term.fit(); term.focus(); }; diff --git a/src/index.html b/src/index.html index f5d22f2..2ec7eb9 100644 --- a/src/index.html +++ b/src/index.html @@ -1 +1 @@ -ttyd - Terminal
\ No newline at end of file +ttyd - Terminal
\ No newline at end of file