Skip to content

Commit fb5407d

Browse files
committed
feat(tree): Warn through colors for elided content
1 parent e293cd6 commit fb5407d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/cargo/ops/tree/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ fn print_node<'a>(
333333
let star = if (new && !in_cycle) || !has_deps {
334334
""
335335
} else {
336-
" (*)"
336+
color_print::cstr!(" <yellow,dim>(*)</>")
337337
};
338338
drop_println!(ws.gctx(), "{}{}", format.display(graph, node_index), star);
339339

tests/testsuite/cargo_tree/dupe/stdout.term.svg

+3-1
Loading

0 commit comments

Comments
 (0)