Function gstuff::with_status_line [] [src]

pub fn with_status_line(code: &Fn())

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.