From: Shuanglei Tao Date: Sun, 20 May 2018 13:55:34 +0000 (+0800) Subject: xterm.js: 3.4.0 X-Git-Url: http://git.prime8.dev/?a=commitdiff_plain;h=0b149bbbba69e2486b0561c0b952a7595eb7f90d;p=ttyd.git xterm.js: 3.4.0 --- diff --git a/html/js/app.js b/html/js/app.js index e80ec1d..4c28b31 100644 --- a/html/js/app.js +++ b/html/js/app.js @@ -243,7 +243,7 @@ var openWs = function() { sendMessage(JSON.stringify({AuthToken: authToken})); if (typeof term !== 'undefined') { - term.destroy(); + term.dispose(); } term = new Terminal({ diff --git a/html/package.json b/html/package.json index a6831d2..b7c8198 100644 --- a/html/package.json +++ b/html/package.json @@ -17,7 +17,7 @@ "bulma": "^0.6.1", "core-js": "^2.5.3", "fast-text-encoding": "^1.0.0", - "xterm": "^3.3.0", + "xterm": "^3.4.0", "zmodem.js": "^0.1.5" }, "devDependencies": { diff --git a/html/yarn.lock b/html/yarn.lock index ea66996..627dbbb 100644 --- a/html/yarn.lock +++ b/html/yarn.lock @@ -7733,9 +7733,9 @@ xdg-basedir@^3.0.0: version "4.0.1" resolved "http://registry.npm.taobao.org/xtend/download/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" -xterm@^3.3.0: - version "3.3.0" - resolved "http://registry.npm.taobao.org/xterm/download/xterm-3.3.0.tgz#b09a19fc2cd5decd21112e5c9dab0b61991f6cf3" +xterm@^3.4.0: + version "3.4.0" + resolved "http://registry.npm.taobao.org/xterm/download/xterm-3.4.0.tgz#fbb0731b293635b8fa9ea627b16a43bbb7511048" y18n@^3.2.1: version "3.2.1" diff --git a/src/index.html b/src/index.html index b2b4558..6be59c6 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