aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2012-10-20 14:02:49 +0000
committerBoris Faure <billiob@gmail.com>2012-10-20 14:02:49 +0000
commit06b9d771dfedc3538cb101db0c680739aae30cd6 (patch)
tree52bf648e10f266db4fee344509f771594058f536 /src/bin
parentUsing the edje_codegen to handle with the theme (diff)
downloadterminology-06b9d771dfedc3538cb101db0c680739aae30cd6.tar.gz
terminology: ' ' can be underlined or striken through
This fixes cursorline in vim when it uses underline SVN revision: 78285
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/termio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bin/termio.c b/src/bin/termio.c
index 48231de..08f4979 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -502,7 +502,9 @@ _smart_apply(Evas_Object *obj)
}
if (cells[j].att.fgintense) fg += 48;
if (cells[j].att.bgintense) bg += 48;
- if ((codepoint == ' ') || (codepoint == 0))
+ if (((codepoint == ' ') || (codepoint == 0)) &&
+ (!cells[j].att.strike) &&
+ (!cells[j].att.underline))
fg = COL_INVIS;
}
if ((tc[x].codepoint != codepoint) ||