mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-10 19:16:20 +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
|
||||
, o;
|
||||
|
||||
// var cx = this.program.x
|
||||
// , cy = this.program.y
|
||||
// , ch = this.program.cursorHidden;
|
||||
//
|
||||
// if (!ch) this.program.hideCursor();
|
||||
|
||||
this.program.saveCursor();
|
||||
|
||||
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();
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user