From d01847735903496c25e1d24375b911edffa56ef8 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 19 Sep 2019 08:56:37 +0000 Subject: [PATCH] Do not use bright when emulating 256 colours on an 8 colour terminal because it is also bold on some terminals. GitHub issue 1914. --- tty.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tty.c b/tty.c index 1658fb74..f8abb17a 100644 --- a/tty.c +++ b/tty.c @@ -2374,10 +2374,7 @@ tty_check_fg(struct tty *tty, struct window_pane *wp, struct grid_cell *gc) gc->fg &= 7; if (colours >= 16) gc->fg += 90; - else - gc->attr |= GRID_ATTR_BRIGHT; - } else - gc->attr &= ~GRID_ATTR_BRIGHT; + } } return; }