billiob pushed a commit to branch master.

http://git.enlightenment.org/apps/terminology.git/commit/?id=40bd9a0161e90c23c38ceb00bdb62df98bcf5c38

commit 40bd9a0161e90c23c38ceb00bdb62df98bcf5c38
Author: Koichi Murase <myoga.mur...@gmail.com>
Date:   Mon Mar 14 17:30:28 2022 +0900

    termpty (_termpty_cell_is_empty): resolve a conflict of color9 vs COL_INVIS
---
 src/bin/termpty.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/bin/termpty.c b/src/bin/termpty.c
index 430cb55..154365d 100644
--- a/src/bin/termpty.c
+++ b/src/bin/termpty.c
@@ -924,8 +924,8 @@ _termpty_cell_is_empty(const Termcell *cell)
 {
    return ((cell->codepoint == 0) ||
            (cell->att.invisible) ||
-           (cell->att.fg == COL_INVIS)) &&
-      ((cell->att.bg == COL_INVIS) || (cell->att.bg == COL_DEF));
+           ((cell->att.fg256 == 0) && (cell->att.fg == COL_INVIS))) &&
+      (((cell->att.bg256 == 0) && (cell->att.bg == COL_INVIS)) || 
(cell->att.bg == COL_DEF));
 }
 
 static Eina_Bool

-- 


Reply via email to