forked from enlightenment/terminology
termio: inverse colors only after applying bold/faint (more precise)
This commit is contained in:
parent
6e8faa30a7
commit
9cb340e29f
|
@ -5165,14 +5165,14 @@ _smart_apply(Evas_Object *obj)
|
||||||
}
|
}
|
||||||
if ((cells[x].att.fgintense) && (!fgext)) fg += 48;
|
if ((cells[x].att.fgintense) && (!fgext)) fg += 48;
|
||||||
if ((cells[x].att.bgintense) && (!bgext)) bg += 48;
|
if ((cells[x].att.bgintense) && (!bgext)) bg += 48;
|
||||||
|
if ((cells[x].att.bold) && (!fgext)) fg += 12;
|
||||||
|
if ((cells[x].att.faint) && (!fgext)) fg += 24;
|
||||||
if (cells[x].att.inverse ^ inv)
|
if (cells[x].att.inverse ^ inv)
|
||||||
{
|
{
|
||||||
int t;
|
int t;
|
||||||
t = fgext; fgext = bgext; bgext = t;
|
t = fgext; fgext = bgext; bgext = t;
|
||||||
t = fg; fg = bg; bg = t;
|
t = fg; fg = bg; bg = t;
|
||||||
}
|
}
|
||||||
if ((cells[x].att.bold) && (!fgext)) fg += 12;
|
|
||||||
if ((cells[x].att.faint) && (!fgext)) fg += 24;
|
|
||||||
if ((tc[x].codepoint != codepoint) ||
|
if ((tc[x].codepoint != codepoint) ||
|
||||||
(tc[x].bold != bold) ||
|
(tc[x].bold != bold) ||
|
||||||
(tc[x].italic != italic) ||
|
(tc[x].italic != italic) ||
|
||||||
|
|
Loading…
Reference in New Issue