From 3e6bcb386cc9df28990b9cd570f6df7617e91f91 Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sat, 14 Oct 2023 00:25:32 -0700 Subject: sars,hungrycat: add --wait flag This tells sars to just wait indefinitely until an ESC is pressed pre-fadein during the opening hungrycat context. The --delay [seconds] flag was added to facilitate screen captures, but it's actually rather annoying to use. This way the sars window will just sit there ignoring any spurious events waiting for an ESC to proceed onto DELAY->FADEIN... Probably not useful but technically this composes with --delay as well, such that if you have --delay and --wait specified, once you hit ESC to leave the WAIT state, the delay will then begin. --- src/sars.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sars.h') diff --git a/src/sars.h b/src/sars.h index b83ffb5..5156112 100644 --- a/src/sars.h +++ b/src/sars.h @@ -44,6 +44,7 @@ typedef struct sars_t { unsigned window_width, window_height; sars_winmode_t winmode; unsigned cheat:1; + unsigned wait:1; unsigned delay_seconds; m4f_t projection_x; -- cgit v1.2.3