fix bold issue with 256 colors

test case was:
echo -ne '\033[38;5;7m\033[48;5;0m\033[1mfoo'
This commit is contained in:
Boris Faure 2014-01-18 00:13:29 +01:00
parent 00f627d354
commit 4202010724
1 changed files with 1 additions and 1 deletions

View File

@ -1418,7 +1418,7 @@ _smart_apply(Evas_Object *obj)
t = fgext; fgext = bgext; bgext = t;
t = fg; fg = bg; bg = t;
}
if (cells[x].att.bold) fg += 12;
if ((cells[x].att.bold) && (!fgext)) fg += 12;
if (cells[x].att.faint) fg += 24;
if ((tc[x].codepoint != codepoint) ||
(tc[x].fg != fg) ||