billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=9cb340e29f97f64af1146c426e14a6374d480110

commit 9cb340e29f97f64af1146c426e14a6374d480110
Author: Boris Faure <[email protected]>
Date:   Sat Dec 29 16:57:44 2018 +0100

    termio: inverse colors only after applying bold/faint (more precise)
---
 src/bin/termio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/termio.c b/src/bin/termio.c
index 13278bb..f749ece 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -5165,14 +5165,14 @@ _smart_apply(Evas_Object *obj)
                          }
                        if ((cells[x].att.fgintense) && (!fgext)) fg += 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)
                          {
                             int t;
                             t = fgext; fgext = bgext; bgext = 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) ||
                            (tc[x].bold != bold) ||
                            (tc[x].italic != italic) ||

-- 


Reply via email to