pub fn ferox_print(msg: &str, bar: &ProgressBar) {
    if user_attended() {
        bar.println(msg);
    } else {
        let stripped = strip_ansi_codes(msg);
        println!("{}", stripped);
    }
}
/// Simple helper to abstract away the check for an attached terminal.
///
/// If a terminal is attached, progress bars are visible and the progress bar is used to print
/// to stderr. The progress bar must be used when bars are visible in order to not jack up any
/// progress bar output (the bar knows how to print above itself)
///
/// If a terminal is not attached, `msg` is printed to stdout, with its ansi
/// color codes stripped.
///
/// additionally, provides a location for future printing options (no color, etc) to be handled
Simple helper to abstract away the check for an attached terminal.
If a terminal is attached, progress bars are visible and the progress bar is used to print
to stderr. The progress bar must be used when bars are visible in order to not jack up any
progress bar output (the bar knows how to print above itself)

If a terminal is not attached, `msg` is printed to stdout, with its ansi
color codes stripped.

additionally, provides a location for future printing options (no color, etc) to be handled
Simple helper to abstract away the check for an attached terminal . If a terminal is attached progress bars are visible and the progress bar is used to print to stderr . The progress bar must be used when bars are visible in order to not jack up any progress bar output ( the bar knows how to print above itself ) If a terminal is not attached ` msg ` is printed to stdout with its ansi color codes stripped . additionally provides a location for future printing options ( no color etc ) to be handled
pub fn ferox_print(msg: &str, bar: &ProgressBar) {
    if user_attended() {
        bar.println(msg);
    } else {
        let stripped = strip_ansi_codes(msg);
        println!("{}", stripped);
    }
}
pub fn ferox_print ( msg : & str , bar : & ProgressBar ) { if user_attended ( ) { bar . println ( msg ) ; } else { let stripped = strip_ansi_codes ( msg ) ; println ! ( " " stripped ) ; } }
Simple helper to abstract away the check for an attached terminal.
Simple helper to abstract away the check for an attached terminal .
msg
&str
bar
&ProgressBar