compiling againg
This commit is contained in:
parent
5778b84891
commit
133aac1aac
1 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io::{self, Read, Write};
|
use std::io::{Read, Write};
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::{Path, PathBuf};
|
||||||
use std::collections::VecDeque;
|
use std::collections::VecDeque;
|
||||||
use colored::Colorize;
|
use colored::Colorize;
|
||||||
|
@ -164,11 +164,11 @@ fn main() -> Result<()> {
|
||||||
history.push_back(format!("{}: {}", "Copied".green(), src.display()));
|
history.push_back(format!("{}: {}", "Copied".green(), src.display()));
|
||||||
|
|
||||||
println!("\x1B[2J\x1B[H"); // Clear screen
|
println!("\x1B[2J\x1B[H"); // Clear screen
|
||||||
println!("{}", file_pb);
|
println!("{}", file_pb.message());
|
||||||
for item in &history {
|
for item in &history {
|
||||||
println!("{}", item);
|
println!("{}", item);
|
||||||
}
|
}
|
||||||
println!("{}", summary_pb);
|
println!("{}", summary_pb.message());
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
eprintln!("{}: {}", "Error".red(), e);
|
eprintln!("{}: {}", "Error".red(), e);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue