Skip to main content

why_for_stdout

Function why_for_stdout 

Source
pub fn why_for_stdout(out: String, styled: bool) -> String
Expand description

why’s reply as it goes to stdout. A person at a terminal reads the framing line as a warning, so styled dims it; the text stays, because an agent may be reading through a terminal too. Piped output is untouched.