Skip to main content

print_rolling

Macro print_rolling 

Source
macro_rules! print_rolling {
    ($($arg:tt)*) => { ... };
}
Expand description

Prints to stderr, overwriting the current line in-place (like cargo’s progress bar). Uses \r + ANSI clear-line so the output stays on a single terminal line. Usage: print_rolling!(“status: {}”, value)