Skip to main content

stderr_opt

Function stderr_opt 

Source
pub fn stderr_opt() -> Option<ProgressDrawTarget>
Expand description

A stderr draw target only when stderr is a terminal.

Off a terminal the console painter falls back to the redirected-stdout record surface (see Painter::console).