stdout_color

Function stdout_color 

Source
pub fn stdout_color() -> bool
Expand description

Whether stdout supports color (cached per process). Distinct from stderr_color because cargo ktstr perf-delta > report.txt pipes stdout to a file while leaving stderr on the TTY — gating stdout tables on the stderr TTY state would leave ANSI escapes in the file. Table-rendering code paths gate on this reading; diagnostic/status prints use stderr_color.