We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c41d869 commit aadbbd3Copy full SHA for aadbbd3
snow/snow.h
@@ -325,6 +325,8 @@ static int __attribute__((unused)) _snow_assertneq_str(
325
int main(int argc, char **argv) { \
326
if (!isatty(1)) \
327
_snow_opt_color = 0; \
328
+ else if (getenv("NO_COLOR") != NULL) \
329
+ _snow_opt_color = 0; \
330
for (int i = 1; i < argc; ++i) { \
331
if (strcmp(argv[i], "--color") == 0) \
332
_snow_opt_color = 1; \
0 commit comments