diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-12 18:29:26 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-01-13 17:39:44 +0100 |
commit | c58087d5914322ab8f693729605a9508d67bb676 (patch) | |
tree | 8a1c58b51ca6f05c24c99bfd73a8c41276385f9d /src/calcurse.h | |
parent | 6d9129764bebb775951c2c8629a291407c25a693 (diff) | |
download | calcurse-c58087d5914322ab8f693729605a9508d67bb676.zip |
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>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 41f7681..7693d79 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -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]; |