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/day.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/day.c') diff --git a/src/day.c b/src/day.c index b454c85..b556481 100644 --- a/src/day.c +++ b/src/day.c @@ -464,7 +464,7 @@ day_store_items(time_t date, int include_captions, int n) /* Empty line at end of day if appointments have one. */ if (apts == 0 && conf.empty_appt_line) day_add_item(EMPTY_SEPARATOR, 0, ENDOFDAY(date), p); - day_add_item(DAY_SEPARATOR, 0, ENDOFDAY(date), p); + day_add_item(END_SEPARATOR, 0, ENDOFDAY(date), p); } } -- cgit v1.2.3-54-g00ecf