mirror of
https://github.com/embarklabs/neo-blessed.git
synced 2025-01-11 03:25:45 +00:00
default fg/bg.
This commit is contained in:
parent
c70ec71e07
commit
aca4fd9833
@ -433,6 +433,9 @@ Screen.prototype.draw = function(start, end) {
|
|||||||
out += '48;5;' + bgColor + ';';
|
out += '48;5;' + bgColor + ';';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//else {
|
||||||
|
// out += '49;';
|
||||||
|
//}
|
||||||
|
|
||||||
if (fgColor !== 0x1ff) {
|
if (fgColor !== 0x1ff) {
|
||||||
if (fgColor < 16 || (this.tput && this.tput.colors <= 16)) {
|
if (fgColor < 16 || (this.tput && this.tput.colors <= 16)) {
|
||||||
@ -447,6 +450,9 @@ Screen.prototype.draw = function(start, end) {
|
|||||||
out += '38;5;' + fgColor + ';';
|
out += '38;5;' + fgColor + ';';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//else {
|
||||||
|
// out += '39;';
|
||||||
|
//}
|
||||||
|
|
||||||
if (out[out.length-1] === ';') out = out.slice(0, -1);
|
if (out[out.length-1] === ';') out = out.slice(0, -1);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user