From 549274d989646db154cdb67429a2bd281a42c168 Mon Sep 17 00:00:00 2001 From: nuintun Date: Wed, 2 Dec 2015 11:11:54 +0800 Subject: [PATCH] update files --- static/js/terminal/xterm.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/static/js/terminal/xterm.js b/static/js/terminal/xterm.js index 272c50b..ed78ef7 100644 --- a/static/js/terminal/xterm.js +++ b/static/js/terminal/xterm.js @@ -1029,14 +1029,14 @@ AnsiTerminal.prototype.toString = function (type){ var s = ''; if (type === 'html') { - var cell; + var node; for (i = 0; i < this.screen.buffer.length; ++i) { for (j = 0; j < this.screen.buffer[i].cells.length; ++j) { - cell = this.screen.buffer[i].cells[j]; + node = this.screen.buffer[i].cells[j]; - if (cell.c) { - console.log(cell.c, ': ', styles(cell)); + if (node.c) { + console.log(node.c, ': ', styles(node)); } } }