mirror of
https://git.proxmox.com/git/mirror_xterm.js
synced 2025-10-04 07:33:45 +00:00
Bump version to 2.9.2
Signed-off-by: Paris Kasidiaris <paris@sourcelair.com>
This commit is contained in:
parent
0b1711fb79
commit
ea07bf8f69
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "xterm.js",
|
"name": "xterm.js",
|
||||||
"version": "2.9.1",
|
"version": "2.9.2",
|
||||||
"ignore": ["demo", "test", ".gitignore"],
|
"ignore": ["demo", "test", ".gitignore"],
|
||||||
"main": [
|
"main": [
|
||||||
"dist/xterm.js",
|
"dist/xterm.js",
|
||||||
|
9
dist/xterm.js
vendored
9
dist/xterm.js
vendored
@ -41,7 +41,7 @@ var Buffer = (function () {
|
|||||||
var ch = [this._terminal.defAttr, ' ', 1];
|
var ch = [this._terminal.defAttr, ' ', 1];
|
||||||
for (var i = 0; i < this._lines.length; i++) {
|
for (var i = 0; i < this._lines.length; i++) {
|
||||||
if (this._lines.get(i) === undefined) {
|
if (this._lines.get(i) === undefined) {
|
||||||
this._lines.set(i, this._terminal.blankLine());
|
this._lines.set(i, this._terminal.blankLine(undefined, undefined, newCols));
|
||||||
}
|
}
|
||||||
while (this._lines.get(i).length < newCols) {
|
while (this._lines.get(i).length < newCols) {
|
||||||
this._lines.get(i).push(ch);
|
this._lines.get(i).push(ch);
|
||||||
@ -60,7 +60,7 @@ var Buffer = (function () {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this._lines.push(this._terminal.blankLine());
|
this._lines.push(this._terminal.blankLine(undefined, undefined, newCols));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -4946,7 +4946,7 @@ Terminal.prototype.clear = function () {
|
|||||||
Terminal.prototype.eraseLine = function (y) {
|
Terminal.prototype.eraseLine = function (y) {
|
||||||
this.eraseRight(0, y);
|
this.eraseRight(0, y);
|
||||||
};
|
};
|
||||||
Terminal.prototype.blankLine = function (cur, isWrapped) {
|
Terminal.prototype.blankLine = function (cur, isWrapped, cols) {
|
||||||
var attr = cur
|
var attr = cur
|
||||||
? this.eraseAttr()
|
? this.eraseAttr()
|
||||||
: this.defAttr;
|
: this.defAttr;
|
||||||
@ -4954,7 +4954,8 @@ Terminal.prototype.blankLine = function (cur, isWrapped) {
|
|||||||
if (isWrapped) {
|
if (isWrapped) {
|
||||||
line.isWrapped = isWrapped;
|
line.isWrapped = isWrapped;
|
||||||
}
|
}
|
||||||
for (; i < this.cols; i++) {
|
cols = cols || this.cols;
|
||||||
|
for (; i < cols; i++) {
|
||||||
line[i] = ch;
|
line[i] = ch;
|
||||||
}
|
}
|
||||||
return line;
|
return line;
|
||||||
|
2
dist/xterm.js.map
vendored
2
dist/xterm.js.map
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "xterm",
|
"name": "xterm",
|
||||||
"description": "Full xterm terminal, in your browser",
|
"description": "Full xterm terminal, in your browser",
|
||||||
"version": "2.9.1",
|
"version": "2.9.2",
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"demo",
|
"demo",
|
||||||
"test",
|
"test",
|
||||||
|
Loading…
Reference in New Issue
Block a user