mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-24 18:00:45 +00:00
fix BCE handling.
This commit is contained in:
parent
8f936d00b7
commit
8c4d70d1e1
@ -883,10 +883,12 @@ Screen.prototype.draw = function(start, end) {
|
||||
}
|
||||
|
||||
if (clr && neq) {
|
||||
lx = ly = -1;
|
||||
if (data !== attr) {
|
||||
out += this.codeAttr(data);
|
||||
attr = data;
|
||||
}
|
||||
out += this.tput.cup(y, x);
|
||||
out += this.tput.el(0);
|
||||
for (xx = x; xx < this.cols; xx++) {
|
||||
o[xx][0] = data;
|
||||
@ -899,10 +901,12 @@ Screen.prototype.draw = function(start, end) {
|
||||
// and start over drawing the rest of line. Might
|
||||
// not be worth it.
|
||||
// if (!clr && neq && (xx - x) > 10) {
|
||||
// lx = ly = -1;
|
||||
// if (data !== attr) {
|
||||
// out += this.codeAttr(data);
|
||||
// attr = data;
|
||||
// }
|
||||
// out += this.tput.cup(y, x);
|
||||
// out += this.tput.el(0) + this.tput.cuf(xx - x);
|
||||
// clr = xx; // tmp
|
||||
// for (xx = x; xx < this.cols; xx++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user