Skip to main content

is_err_tty

Function is_err_tty 

Source
pub fn is_err_tty() -> bool
Expand description

Returns whether stderr is a terminal (tty).

Used to gate progress/spinner output that only makes sense for interactive use.