Upgrade front-end dependencies and change code to use xterm 4.3.0

This commit is contained in:
NI
2019-12-06 18:54:16 +08:00
parent 519d822e9c
commit 6a84c7494d
3 changed files with 818 additions and 787 deletions

1577
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -5,22 +5,22 @@
"main": "",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.7.2",
"@babel/plugin-transform-runtime": "^7.6.2",
"@babel/preset-env": "^7.7.1",
"@babel/register": "^7.7.0",
"@babel/runtime": "^7.7.2",
"@babel/core": "^7.7.4",
"@babel/plugin-transform-runtime": "^7.7.4",
"@babel/preset-env": "^7.7.4",
"@babel/register": "^7.7.4",
"@babel/runtime": "^7.7.4",
"babel-eslint": "^10.0.3",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"copy-webpack-plugin": "^5.0.5",
"css-loader": "^2.1.1",
"eslint": "^6.6.0",
"eslint-config-prettier": "^6.5.0",
"eslint": "^6.7.2",
"eslint-config-prettier": "^6.7.0",
"eslint-loader": "^2.2.1",
"eslint-plugin-prettier": "^3.1.1",
"eslint-plugin-vue": "^5.2.3",
"file-loader": "^4.2.0",
"file-loader": "^4.3.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"iconv-lite": "^0.5.0",
@@ -29,7 +29,7 @@
"mocha": "^6.2.2",
"normalize.css": "^8.0.1",
"optimize-css-assets-webpack-plugin": "^5.0.3",
"prettier": "^1.19.0",
"prettier": "^1.19.1",
"roboto-fontface": "^0.10.0",
"style-loader": "^0.23.1",
"terser-webpack-plugin": "^1.4.1",
@@ -40,7 +40,7 @@
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-manifest-plugin": "^2.2.0",
"xterm": "^4.2.0",
"xterm": "^4.3.0",
"xterm-addon-fit": "^0.3.0",
"xterm-addon-web-links": "^0.2.1"
},

View File

@@ -99,6 +99,14 @@ class Term {
control.send(data);
});
this.term.onBinary(data => {
if (this.closed) {
return;
}
control.send(data);
});
this.term.onKey(ev => {
if (this.closed) {
return;