tFix blink mode check - st - [fork] customized build of st, the simple terminal | |
git clone git://src.adamsgaard.dk/st | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1 | |
parent 7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57 | |
Author: Michael Forney <[email protected]> | |
Date: Thu, 25 Jul 2013 16:24:16 -0700 | |
Fix blink mode check | |
ATTR_BLINK is an attribute for a Glyph and will not be set in term.mode. | |
Diffstat: | |
M st.c | 4 ++-- | |
1 file changed, 2 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/st.c b/st.c | |
t@@ -3606,8 +3606,8 @@ run(void) { | |
ttyread(); | |
if(blinktimeout) { | |
blinkset = tattrset(ATTR_BLINK); | |
- if(!blinkset && term.mode & ATTR_BLINK) | |
- term.mode &= ~(MODE_BLINK); | |
+ if(!blinkset) | |
+ MODBIT(term.mode, 0, MODE_BLINK); | |
} | |
} | |