[−][src]Function fedora_update_feedback::progress_bar
pub fn progress_bar(prefix: &str, p: u32, ps: u32)
This function draws a pretty progress bar with this format:
Prefix: [ ========= ] 22%
It's necessary to print a newline character after the progress bar reaches 100%.