mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
527312a61b
commit
878ff0d9e6
@ -757,7 +757,7 @@ var _uniqueId = 0;
|
|||||||
*/
|
*/
|
||||||
function Row(){
|
function Row(){
|
||||||
this.uniqueId = _uniqueId++ | 0;
|
this.uniqueId = _uniqueId++ | 0;
|
||||||
this.version = 1;
|
this.version = 0;
|
||||||
this.cells = [];
|
this.cells = [];
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -778,7 +778,6 @@ function ScreenBuffer(cols, rows, scrollLength){
|
|||||||
|
|
||||||
this.buffer = [];
|
this.buffer = [];
|
||||||
this.scrollbuffer = [];
|
this.scrollbuffer = [];
|
||||||
this.versions = {};
|
|
||||||
|
|
||||||
this.reset();
|
this.reset();
|
||||||
}
|
}
|
||||||
@ -786,7 +785,6 @@ function ScreenBuffer(cols, rows, scrollLength){
|
|||||||
ScreenBuffer.prototype.reset = function (){
|
ScreenBuffer.prototype.reset = function (){
|
||||||
this.buffer = [];
|
this.buffer = [];
|
||||||
this.scrollbuffer = [];
|
this.scrollbuffer = [];
|
||||||
this.versions = {};
|
|
||||||
|
|
||||||
var row;
|
var row;
|
||||||
|
|
||||||
@ -798,7 +796,6 @@ ScreenBuffer.prototype.reset = function (){
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.buffer.push(row);
|
this.buffer.push(row);
|
||||||
this.versions[row] = 1;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user