diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-10-14 00:25:32 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-10-14 00:25:32 -0700 |
commit | 3e6bcb386cc9df28990b9cd570f6df7617e91f91 (patch) | |
tree | 0f5c01f4a98727b0adb9b733c8ff631117e473df /src/sars.h | |
parent | 723dc1a9bd275bb314a5e2d2673ed0ea84fee330 (diff) |
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.
Diffstat (limited to 'src/sars.h')
-rw-r--r-- | src/sars.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |