diff --git a/src/main.rs b/src/main.rs index 4ef093e..d8e0aaf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ use std::fs; -use std::io::{self, Read, Write}; +use std::io::{Read, Write}; use std::path::{Path, PathBuf}; use std::collections::VecDeque; use colored::Colorize; @@ -164,11 +164,11 @@ fn main() -> Result<()> { history.push_back(format!("{}: {}", "Copied".green(), src.display())); println!("\x1B[2J\x1B[H"); // Clear screen - println!("{}", file_pb); + println!("{}", file_pb.message()); for item in &history { println!("{}", item); } - println!("{}", summary_pb); + println!("{}", summary_pb.message()); } Err(e) => { eprintln!("{}: {}", "Error".red(), e);