Add command line option to suppress dialogs
Implement a -q/--quiet command line option to disable system dialogs temporarily. Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
@@ -1122,6 +1122,7 @@ int asprintf(char **, const char *, ...);
|
||||
int starts_with(const char *, const char *);
|
||||
int starts_with_ci(const char *, const char *);
|
||||
int hash_matches(const char *, const char *);
|
||||
int show_dialogs(void);
|
||||
|
||||
/* vars.c */
|
||||
extern int col, row;
|
||||
@@ -1130,6 +1131,7 @@ extern unsigned colorize;
|
||||
extern int foreground, background;
|
||||
extern enum ui_mode ui_mode;
|
||||
extern int read_only;
|
||||
extern int quiet;
|
||||
extern int want_reload;
|
||||
extern const char *datefmt_str[DATE_FORMATS];
|
||||
extern int days[12];
|
||||
|
||||
Reference in New Issue
Block a user