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

View file

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