commit d131c2d43845f2189975ee55520dcfa4edb99aa5
parent eb0962fb060b9eff1cf7f08046cc217fff0af699
Author: Benno Schulenberg <bensberg@telfort.nl>
Date: Sun, 7 Feb 2021 12:09:38 +0100
minibar: show a message a little longer when --quickblank isn't used
The --minibar option made --quickblank a no-op. Now the use of the
latter together with --minibar still has some effect.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/winio.c b/src/winio.c
@@ -188,7 +188,7 @@ void read_keys_from(WINDOW *win)
if (currmenu == MMAIN && ISSET(MINIBAR) && lastmessage > HUSH &&
lastmessage != INFO && lastmessage < ALERT) {
timed = TRUE;
- halfdelay(8);
+ halfdelay(ISSET(QUICK_BLANK) ? 8 : 15);
disable_kb_interrupt();
}
#endif