Merge pull request #251 from nsanmartin/high-intensity-colors

Add high-intensity colors option and cli flag.
This commit is contained in:
Tatsuya Kinoshita
2023-01-04 19:16:58 +09:00
committed by GitHub
6 changed files with 18 additions and 1 deletions

View File

@@ -1678,7 +1678,7 @@ static char *
color_seq(int colmode)
{
static char seqbuf[32];
sprintf(seqbuf, "\033[%dm", ((colmode >> 8) & 7) + 30);
sprintf(seqbuf, "\033[%dm", ((colmode >> 8) & 7) + (highIntensityColors ? 90 : 30));
return seqbuf;
}