From 4db9677119f412fd38440e5591afbfb631a11b3d Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Sun, 12 May 2019 21:52:43 +0200 Subject: 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 Signed-off-by: Lukas Fleischer --- src/calcurse.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/calcurse.h') 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. */ -- cgit v1.2.3