From c6a1c31deccce8a77f3e4cbba33220a7cb9f7e3f Mon Sep 17 00:00:00 2001 From: nuintun Date: Thu, 14 Jan 2016 16:03:18 +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 fa47856..bb362a1 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.rows; + var rows = this.cursor.row + 1; var cols = this.cols; if (type === 'html') {