Skip to content

Commit 7a97f4e

Browse files
committed
docgen: don't print progress in dumb terminals
1 parent 73da157 commit 7a97f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/docgen.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1270,7 +1270,7 @@ fn genHtml(
12701270
zig_exe: []const u8,
12711271
do_code_tests: bool,
12721272
) !void {
1273-
var progress = Progress{};
1273+
var progress = Progress{ .dont_print_on_dumb = true };
12741274
const root_node = progress.start("Generating docgen examples", toc.nodes.len);
12751275
defer root_node.end();
12761276

0 commit comments

Comments
 (0)