Add --watchfd option values to an array in the main state, as well as to the currently used variables (#12).

This commit is contained in:
Andrew Wood
2025-09-17 23:12:13 +01:00
parent 12cc996d32
commit dbce5b355e
5 changed files with 75 additions and 10 deletions
+2 -2
View File
@@ -56,8 +56,8 @@ struct opts_s {
unsigned int height; /* screen height */
unsigned int argc; /* number of non-option arguments */
unsigned int argv_length; /* allocated array size */
size_t watchfd_count; /* number of watchfd items */
size_t watchfd_length; /* allocated array size */
unsigned int watchfd_count; /* number of watchfd items */
unsigned int watchfd_length; /* allocated array size */
bool do_nothing; /* exit-without-doing-anything flag */
bool progress; /* progress bar flag */
bool timer; /* timer flag */