We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28bda2e commit bf73620Copy full SHA for bf73620
lib/build_runner.zig
@@ -272,6 +272,11 @@ pub fn main() !void {
272
273
const stderr = std.io.getStdErr();
274
const ttyconf = get_tty_conf(color, stderr);
275
+ switch (ttyconf) {
276
+ .no_color => try builder.env_map.put("NO_COLOR", "1"),
277
+ .escape_codes => try builder.env_map.put("ZIG_DEBUG_COLOR", "1"),
278
+ .windows_api => {},
279
+ }
280
281
var progress: std.Progress = .{ .dont_print_on_dumb = true };
282
const main_progress_node = progress.start("", 0);
0 commit comments