summaryrefslogtreecommitdiffstats
path: root/term-utils/setterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'term-utils/setterm.c')
-rw-r--r--term-utils/setterm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/term-utils/setterm.c b/term-utils/setterm.c
index a8ccc3864..4c29a462e 100644
--- a/term-utils/setterm.c
+++ b/term-utils/setterm.c
@@ -236,6 +236,9 @@ static int parse_ulhb_color(char **av, int *oi)
if (bright && (color == BLACK || color == GREY))
errx(EXIT_FAILURE, _("argument error: bright %s is not supported"), color_name);
+ if (bright)
+ color |= 8;
+
return color;
}