update files

This commit is contained in:
nuintun 2015-11-30 17:03:16 +08:00
parent 527312a61b
commit 878ff0d9e6

View File

@ -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;
} }
}; };