pub fn color_enabled() -> bool
Returns the active color decision. If init_from_cli was never called (e.g. in a library test that bypasses main), this defaults to false to avoid leaking escapes.
init_from_cli
main
false