st

simple terminal

git clone https://9o.is/git/st.git

commit 6fa5239f69065a011d39d45078440b98fdbb4850
parent aab01e8748ef0f7d4a6d408fadcde5b873dd31fc
Author: Michael Forney <mforney@mforney.org>
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:
Mst.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/st.c b/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); } }