diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-09-17 22:40:49 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-11-03 10:56:47 -0500 |
commit | d8d7dce2b8efe64b16e6a5acbcc183cf1be92c59 (patch) | |
tree | 7e6e9ef0a398ce818e11f72e7a4153d45b6446e0 /src/calcurse.h | |
parent | f49ec4ad6e2035d056583340a13edb46d17ba8d1 (diff) | |
download | calcurse-d8d7dce2b8efe64b16e6a5acbcc183cf1be92c59.tar.gz calcurse-d8d7dce2b8efe64b16e6a5acbcc183cf1be92c59.zip |
Make the text for empty days configurable
The default is "--"; a single space makes the text invisible.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 98b1f71..39f46b7 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -287,6 +287,7 @@ struct conf { unsigned event_separator; unsigned day_separator; unsigned empty_appt_line; + char empty_day[BUFSIZ]; const char *editor; const char *pager; const char *mergetool; @@ -296,6 +297,8 @@ struct conf { char day_heading[BUFSIZ]; /* format for displaying heading in appts panel */ }; +#define EMPTY_DAY_DEFAULT "--" + /* Daemon-related configuration. */ struct dmon_conf { unsigned enable; /* launch daemon automatically when exiting */ |