rcfile: do not complain when "bright" is used with a background color

A background color *can* be bright (in the sense of lighter, shinier).
It's just that the background cannot be bold.  Only the typeface used
on the foreground can be bold (if the terminal supports it).  So, let
"bright", when used with a background color, simply mean "light".
This commit is contained in:
Benno Schulenberg 2020-06-10 10:25:11 +02:00
parent c275c5158e
commit d01dbbb284

View File

@ -1041,10 +1041,6 @@ bool parse_combination(char *combostr, short *fg, short *bg, int *attributes)
if (comma != NULL) {
*bg = color_to_short(comma + 1, &vivid, &thick);
if (vivid && thick) {
jot_error(N_("A background color cannot be bright"));
return FALSE;
}
if (*bg == BAD_COLOR)
return FALSE;
if (vivid && COLORS > 8)