Commit 86c03dd

Michael Forney <mforney@mforney.org>
2013-07-25 19:24:16
Fix blink mode check
ATTR_BLINK is an attribute for a Glyph and will not be set in term.mode.
1 parent 7e3cff3
Changed files (1)
st.c
@@ -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);
 			}
 		}