Fix some references

This commit is contained in:
Paris Kasidiaris
2017-07-16 03:47:15 +03:00
committed by Paris Kasidiaris
parent bbafdd3d06
commit 73b4bfb5f8
3 changed files with 5 additions and 9 deletions
+2 -2
View File
@@ -144,10 +144,10 @@ export class Renderer {
let line = this._terminal.buffer.lines.get(row);
let x;
if (this._terminal.y === y - (this._terminal.buffer.ybase - this._terminal.buffer.ydisp) &&
if (this._terminal.buffer.y === y - (this._terminal.buffer.ybase - this._terminal.buffer.ydisp) &&
this._terminal.cursorState &&
!this._terminal.cursorHidden) {
x = this._terminal.x;
x = this._terminal.buffer.x;
} else {
x = -1;
}