Function anstream::stdout

source ·
pub fn stdout() -> AutoStream<Stdout> 
Available on crate feature auto only.
Expand description

Create an ANSI escape code compatible stdout

Note: Call AutoStream::lock in loops to avoid the performance hit of acquiring/releasing from the implicit locking in each std::io::Write call