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 + ';';
|
||||
}
|
||||
}
|
||||
//else {
|
||||
// out += '49;';
|
||||
//}
|
||||
|
||||
if (fgColor !== 0x1ff) {
|
||||
if (fgColor < 16 || (this.tput && this.tput.colors <= 16)) {
|
||||
|
@ -447,6 +450,9 @@ Screen.prototype.draw = function(start, end) {
|
|||
out += '38;5;' + fgColor + ';';
|
||||
}
|
||||
}
|
||||
//else {
|
||||
// out += '39;';
|
||||
//}
|
||||
|
||||
if (out[out.length-1] === ';') out = out.slice(0, -1);
|
||||
|
||||
|
|
Loading…
Reference in New Issue