[][src]Function prgrs::writeln

pub fn writeln(text: &str) -> Result<()>

Used to write somethin to the terminal, while displaying a progress bar

Example

use prgrs::{Prgrs, writeln};
for i in Prgrs::new(0..100, 100){
    writeln("test").expect("Error while printing");
}