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>
This commit is contained in:
committed by
Lukas Fleischer
parent
f9cf5fb0c1
commit
4db9677119
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user