Display all the batch a once

This commit is contained in:
Peltoche 2018-12-02 18:16:02 +01:00
parent e425bd9d3a
commit 9e16d6620b
No known key found for this signature in database
GPG key ID: CED68D0487156952

View file

@ -45,9 +45,13 @@ impl<'a> Display<'a> {
}
fn print_one_per_line(&self, outputs: &[String]) {
let mut res = String::new();
for output in outputs {
println!("{}", output);
res += output;
res += "\n";
}
println!("{}", res);
}
fn get_visible_width(&self, input: &str) -> usize {