diff options
| author | Michael Forney <mforney@mforney.org> | 2013-07-25 16:24:16 -0700 |
|---|---|---|
| committer | Roberto E. Vargas Caballero <k0ga@shike2.com> | 2013-08-05 11:45:52 +0200 |
| commit | 86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1 (patch) | |
| tree | 85a6d36b98b4a6bd5a77466d5022863699def95f | |
| parent | 7e3cff33ffbd69a112fa4071a9f0ed2dc93bfc57 (diff) | |
| download | st-86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1.tar.gz st-86c03ddc82d2f9f84f22f79741e13ade0e0b8cd1.zip | |
Fix blink mode check
ATTR_BLINK is an attribute for a Glyph and will not be set in term.mode.
| -rw-r--r-- | st.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -3606,8 +3606,8 @@ run(void) { | |||
| 3606 | ttyread(); | 3606 | ttyread(); |
| 3607 | if(blinktimeout) { | 3607 | if(blinktimeout) { |
| 3608 | blinkset = tattrset(ATTR_BLINK); | 3608 | blinkset = tattrset(ATTR_BLINK); |
| 3609 | if(!blinkset && term.mode & ATTR_BLINK) | 3609 | if(!blinkset) |
| 3610 | term.mode &= ~(MODE_BLINK); | 3610 | MODBIT(term.mode, 0, MODE_BLINK); |
| 3611 | } | 3611 | } |
| 3612 | } | 3612 | } |
| 3613 | 3613 | ||
