Comparing version 3.8.0 to 3.8.1
@@ -24,17 +24,2 @@ "use strict"; | ||
var GLEVEL = { '(': 0, ')': 1, '*': 2, '+': 3, '-': 1, '.': 2 }; | ||
var RequestTerminfo = (function () { | ||
function RequestTerminfo(_terminal) { | ||
this._terminal = _terminal; | ||
} | ||
RequestTerminfo.prototype.hook = function (collect, params, flag) { | ||
this._data = ''; | ||
}; | ||
RequestTerminfo.prototype.put = function (data, start, end) { | ||
this._data += data.substring(start, end); | ||
}; | ||
RequestTerminfo.prototype.unhook = function () { | ||
this._terminal.handler(EscapeSequences_1.C0.ESC + "P0+r" + this._data + EscapeSequences_1.C0.ESC + "\\"); | ||
}; | ||
return RequestTerminfo; | ||
}()); | ||
var DECRQSS = (function () { | ||
@@ -69,3 +54,3 @@ function DECRQSS(_terminal) { | ||
this._terminal.error('Unknown DCS $q %s', this._data); | ||
this._terminal.handler(EscapeSequences_1.C0.ESC + "P0$r" + this._data + EscapeSequences_1.C0.ESC + "\\"); | ||
this._terminal.handler(EscapeSequences_1.C0.ESC + "P0$r" + EscapeSequences_1.C0.ESC + "\\"); | ||
} | ||
@@ -181,3 +166,2 @@ }; | ||
_this._parser.setDcsHandler('$q', new DECRQSS(_this._terminal)); | ||
_this._parser.setDcsHandler('+q', new RequestTerminfo(_this._terminal)); | ||
return _this; | ||
@@ -184,0 +168,0 @@ } |
{ | ||
"name": "xterm", | ||
"description": "Full xterm terminal, in your browser", | ||
"version": "3.8.0", | ||
"version": "3.8.1", | ||
"main": "lib/public/Terminal.js", | ||
@@ -6,0 +6,0 @@ "types": "typings/xterm.d.ts", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2239442
33869