From 7ed537a3272d2a42e6f8c862ad57bb4b29e72608 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao Date: Mon, 25 Mar 2019 12:11:36 +0800 Subject: [PATCH] html: do not apply winptyCompat addon --- html/js/app.js | 2 -- src/index.html | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) 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 -- 2.43.4