diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-05-12 21:52:43 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-05-26 10:04:27 -0400 |
commit | 4db9677119f412fd38440e5591afbfb631a11b3d (patch) | |
tree | 9fc990ddf548db4635e78a16fdc373a609390095 /src/calcurse.h | |
parent | f9cf5fb0c1528c006697a23813be72f69458d53d (diff) | |
download | calcurse-4db9677119f412fd38440e5591afbfb631a11b3d.tar.gz calcurse-4db9677119f412fd38440e5591afbfb631a11b3d.zip |
Make separation of days conspicuous
... by adding a horizontal line from border to border above the day
heading and turning the event separator into an empty line. The
horizontal line is left out for the first day loaded.
Also reduce the number of empty lines at the end of a day to at most
one.
A new configuration variable, header_line, turns the horizontal line on
and off.
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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index f14b0bb..72a0fa6 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -283,7 +283,9 @@ struct conf { unsigned compact_panels; unsigned system_dialogs; unsigned multiple_days; - unsigned dayseparator; + unsigned header_line; + unsigned event_separator; + unsigned day_separator; unsigned empty_appt_line; const char *editor; const char *pager; @@ -423,7 +425,7 @@ enum day_item_type { RECUR_APPT, APPT, EMPTY_SEPARATOR, - DAY_SEPARATOR + END_SEPARATOR }; /* Available item types. */ |