mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 19:44:35 +08:00
update files
This commit is contained in:
parent
0dbe4e8a58
commit
5c679826df
@ -743,6 +743,7 @@ TChar.prototype.toString = function (){
|
|||||||
return this.value;
|
return this.value;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// rows unique id
|
||||||
var _uniqueId = 0;
|
var _uniqueId = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -750,7 +751,7 @@ var _uniqueId = 0;
|
|||||||
* @constructor
|
* @constructor
|
||||||
*/
|
*/
|
||||||
function Row(){
|
function Row(){
|
||||||
this.uniqueId = _uniqueId++ | 0;
|
this.id = _uniqueId++ | 0;
|
||||||
this.version = 0;
|
this.version = 0;
|
||||||
this.cells = [];
|
this.cells = [];
|
||||||
}
|
}
|
||||||
@ -1054,7 +1055,7 @@ AnsiTerminal.prototype.styles = function (){
|
|||||||
|
|
||||||
for (i = 0; i < rows; ++i) {
|
for (i = 0; i < rows; ++i) {
|
||||||
stylesBuffer.buffer[i] = {
|
stylesBuffer.buffer[i] = {
|
||||||
id: this.screen.buffer[i].uniqueId,
|
id: this.screen.buffer[i].id,
|
||||||
version: this.screen.buffer[i].version,
|
version: this.screen.buffer[i].version,
|
||||||
cells: []
|
cells: []
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user