diff options
author | pgen <p.gen.progs@gmail.com> | 2021-08-28 01:36:46 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2021-08-28 01:38:12 +0200 |
commit | 0a804a7ba9c20b505e97528c1f2b1db547ab825a (patch) | |
tree | b6e627befe6003ce640a0a0e88c97a55c061a23f /smenu.h | |
parent | efc51dfabb437a81f16017b12d9ea9d58ac4a552 (diff) |
Add a global timeout which defaults to 15min
A new option can be used to modify this value:
-f|-forgotten_timeout|-global_timeout
Diffstat (limited to 'smenu.h')
-rw-r--r-- | smenu.h | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -181,6 +181,7 @@ struct limit_s struct ticker_s { int search; + int forgotten; int help; int winch; int direct_access; @@ -204,10 +205,11 @@ struct termios old_in_attrs; /* """"""""""""""""""""" */ struct itimerval periodic_itv; /* refresh rate for the timeout counter. */ -int help_timer = -1; -int winch_timer = -1; -int daccess_timer = -1; -int search_timer = -1; +int forgotten_timer = -1; +int help_timer = -1; +int winch_timer = -1; +int daccess_timer = -1; +int search_timer = -1; /* Structure containing the attributes components. */ /* """"""""""""""""""""""""""""""""""""""""""""""" */ |