From db15df5daa3e5e93ff1085e7a43999f0bb61938b Mon Sep 17 00:00:00 2001 From: Matthew Lugg Date: Sat, 6 Dec 2025 14:22:47 +0000 Subject: [PATCH] build_runner: don't dim the tree line of reused step This was presumably unintentional, as the old behavior looked quite odd when you noticed it. All of the line-drawing characters ought to be the same color; only the step name/status is dimmed when a step is "reused" (i.e. appears multiple times in the tree). --- lib/compiler/build_runner.zig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/compiler/build_runner.zig b/lib/compiler/build_runner.zig index 272b1b8077f3fdbe8cb6ecb66d0828a02d82a1d1..82d58e4592ac396bd1623f1b572d6706c46427d4 100644 --- a/lib/compiler/build_runner.zig +++ b/lib/compiler/build_runner.zig @@ -1186,7 +1186,6 @@ fn printTreeStep( if (skip) return; try printPrefix(parent_node, stderr, ttyconf); - if (!first) try ttyconf.setColor(stderr, .dim); if (parent_node.parent != null) { if (parent_node.last) { try printChildNodePrefix(stderr, ttyconf); @@ -1198,6 +1197,8 @@ fn printTreeStep( } } + if (!first) try ttyconf.setColor(stderr, .dim); + // dep_prefix omitted here because it is redundant with the tree. try stderr.writeAll(s.name); -- 2.54.0