From 0ad02a4afa1dec5bd67da55f6334ad1b9d4c7bbf Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Mon, 10 Oct 2016 08:25:01 -0700 Subject: [PATCH] Add note that negative scrolls up on scrollPages --- src/xterm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xterm.js b/src/xterm.js index e9b3f17d..fabde179 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -1309,7 +1309,7 @@ Terminal.prototype.scrollDisp = function(disp, suppressScrollEvent) { /** * Scroll the display of the terminal by a number of pages. - * @param {number} pageCount The number of pages to scroll. + * @param {number} pageCount The number of pages to scroll (negative scrolls up). */ Terminal.prototype.scrollPages = function(pageCount) { this.scrollDisp(pageCount * (this.rows - 1));