Function gstuff::with_status_line

source ·
pub fn with_status_line(code: &dyn Fn())
Expand description

Clear the status line, run the code, then restore the status line.

Simply runs the code if the stdout is not isatty or if the status line is empty.