scrollDisp -> scrollLines

Fixes #902
This commit is contained in:
Daniel Imms
2017-11-04 03:20:24 -07:00
parent 8ece306dbe
commit 05cbe41d39
9 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ export class Viewport implements IViewport {
private onScroll(ev: Event): void {
const newRow = Math.round(this.viewportElement.scrollTop / this.currentRowHeight);
const diff = newRow - this.terminal.buffer.ydisp;
this.terminal.scrollDisp(diff, true);
this.terminal.scrollLines(diff, true);
}
/**