This commit is contained in:
Martin Lund 2024-04-27 17:13:06 +02:00
parent 588ac3e8ac
commit cd160250a6

View file

@ -482,8 +482,10 @@ void options_parse(int argc, char *argv[])
// Support no-color.org informal spec
char *no_color = getenv("NO_COLOR");
if(no_color != NULL && no_color[0] != '\0')
option.color = -1;
if (no_color != NULL && no_color[0] != '\0')
{
option.color = -1;
}
while (1)
{