From e733d09ea02897e7013a0745223b777ae5981fd5 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Thu, 7 Dec 2017 16:36:01 +0100 Subject: Default colour as foreground colour In the default colour setup (white on black), white could only with great difficulty be used as customized foreground colour, because the colour pair COLR_CUSTOM then was identical to COLR_DEFAULT (default on default). This made it impossible to distinguish the selected element in lists. The patch turns on the video attribute bold when default is chosen as foreground colour. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 5bf32cf..d9d4e1e 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -675,7 +675,11 @@ enum move { YEAR_NEXT }; -/* Available color pairs. */ +/* + * Available color pairs. + * The numbering must agree with + * the colour numbers 1-6, see custom.c. + */ enum { COLR_RED = 1, COLR_GREEN, -- cgit v1.2.3-54-g00ecf