Browse Source

Fix blink mode check

ATTR_BLINK is an attribute for a Glyph and will not be set in term.mode.
master
Michael Forney 12 years ago
committed by Roberto E. Vargas Caballero
parent
commit
86c03ddc82
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      st.c

+ 2
- 2
st.c View File

@ -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);
}
}


Loading…
Cancel
Save