mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-26 18:59:06 +00:00
potential cursor handling during render.
This commit is contained in:
parent
d0f99be764
commit
155eac8677
@ -653,6 +653,12 @@ Screen.prototype.draw = function(start, end) {
|
|||||||
, ly = -1
|
, ly = -1
|
||||||
, o;
|
, o;
|
||||||
|
|
||||||
|
// var cx = this.program.x
|
||||||
|
// , cy = this.program.y
|
||||||
|
// , ch = this.program.cursorHidden;
|
||||||
|
//
|
||||||
|
// if (!ch) this.program.hideCursor();
|
||||||
|
|
||||||
this.program.saveCursor();
|
this.program.saveCursor();
|
||||||
|
|
||||||
for (y = start; y <= end; y++) {
|
for (y = start; y <= end; y++) {
|
||||||
@ -790,6 +796,9 @@ Screen.prototype.draw = function(start, end) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// this.program.cup(cy, cx);
|
||||||
|
// if (ch) this.program.hideCursor();
|
||||||
|
|
||||||
this.program.restoreCursor();
|
this.program.restoreCursor();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user