Add note that negative scrolls up on scrollPages

This commit is contained in:
Daniel Imms
2016-10-10 08:25:01 -07:00
committed by GitHub
parent 0bf7bf56a5
commit 0ad02a4afa
+1 -1
View File
@@ -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));