Skip to main content

is_out_tty

Function is_out_tty 

Source
pub fn is_out_tty() -> bool
Expand description

Returns whether stdout is a terminal (tty).

Used to gate machine-readable stdout records that would duplicate the status prose already shown on stderr in interactive sessions.