From 878ff0d9e62b8fe7ccbed9d19169d4f54b6ccc1f Mon Sep 17 00:00:00 2001 From: nuintun Date: Mon, 30 Nov 2015 17:03:16 +0800 Subject: [PATCH] update files --- static/js/terminal/xterm.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/static/js/terminal/xterm.js b/static/js/terminal/xterm.js index efd3389..7244854 100644 --- a/static/js/terminal/xterm.js +++ b/static/js/terminal/xterm.js @@ -757,7 +757,7 @@ var _uniqueId = 0; */ function Row(){ this.uniqueId = _uniqueId++ | 0; - this.version = 1; + this.version = 0; this.cells = []; } @@ -778,7 +778,6 @@ function ScreenBuffer(cols, rows, scrollLength){ this.buffer = []; this.scrollbuffer = []; - this.versions = {}; this.reset(); } @@ -786,7 +785,6 @@ function ScreenBuffer(cols, rows, scrollLength){ ScreenBuffer.prototype.reset = function (){ this.buffer = []; this.scrollbuffer = []; - this.versions = {}; var row; @@ -798,7 +796,6 @@ ScreenBuffer.prototype.reset = function (){ } this.buffer.push(row); - this.versions[row] = 1; } };