diff options
Diffstat (limited to 'anzeige.c')
-rw-r--r-- | anzeige.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -70,10 +70,15 @@ int main(int argc, char **argv) } time_t next_update = 0; + scroll_data . shine_until = time(NULL) + 10; int i=0; while (scroll_data . keep_running) { + if (got_input()) { + next_update = 0; // update now! + scroll_data . shine_until = time(NULL) + 60; + } if ((time(NULL) >= next_update) && (scroll_data . update == 0)) { next_update = time(NULL) + 60; // one minute ahead |