From da9f86f1a7764b50a03ee8fcd77d12a660c8b5b0 Mon Sep 17 00:00:00 2001 From: Daniel Imms Date: Thu, 9 Jun 2016 19:59:59 -0700 Subject: [PATCH] Draw cursor at correct position when scrolling Fixes #64 --- src/xterm.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/xterm.js b/src/xterm.js index b17437cc..f75989ee 100644 --- a/src/xterm.js +++ b/src/xterm.js @@ -1102,9 +1102,8 @@ line = this.lines[row]; out = ''; - if (y === this.y + if (this.y === y - (this.ybase - this.ydisp) && this.cursorState - && (this.ydisp === this.ybase) && !this.cursorHidden) { x = this.x; } else {