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 {