From 99e065735597175aec151aed4d22e60af6f87b36 Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 14 Jan 2016 16:08:16 +0800 Subject: [PATCH] update files --- static/js/terminal/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/terminal/index.js b/static/js/terminal/index.js index bb362a1..fa47856 100644 --- a/static/js/terminal/index.js +++ b/static/js/terminal/index.js @@ -1081,7 +1081,7 @@ AnsiTerminal.prototype.styles = function (){ AnsiTerminal.prototype.toString = function (type){ var s = ''; var i, j, node; - var rows = this.cursor.row + 1; + var rows = this.rows; var cols = this.cols; if (type === 'html') {