fn prepare_for_non_tty(style: ansi_term::Style) -> ansi_term::Style {
    if atty::is(atty::Stream::Stdout) {
        style
    } else {
        ansi_term::Style::default()
    }
}
/// Returns reset given ANSI style if non-tty
Returns reset given ANSI style if non-tty
Returns reset given ANSI style if non - tty
fn prepare_for_non_tty(style: ansi_term::Style) -> ansi_term::Style {
    if atty::is(atty::Stream::Stdout) {
        style
    } else {
        ansi_term::Style::default()
    }
}
fn prepare_for_non_tty ( style : ansi_term :: Style ) -> ansi_term :: Style { if atty :: is ( atty :: Stream :: Stdout ) { style } else { ansi_term :: Style :: default ( ) } }
Returns reset given ANSI style if non-tty
Returns reset given ANSI style if non - tty
style
ansi_term::Style
style
ansi_term::Style