From 55c969cfdf9fbcbfae8c0cc9f3e291a17e9e77ed Mon Sep 17 00:00:00 2001 From: Bloxx12 Date: Mon, 5 May 2025 18:22:31 +0200 Subject: [PATCH] print: change coloring --- src/print.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/print.rs b/src/print.rs index 27903de..816689c 100644 --- a/src/print.rs +++ b/src/print.rs @@ -19,8 +19,8 @@ pub fn print_added(set: HashSet<&str>, post: &HashMap<&str, HashSet<&str>>, col_ version_vec.sort_unstable(); let version_str = version_vec.join(", "); println!( - "{} {:col_width$} {} {}", - "[A:]".green().bold(), + "[{}] {:col_width$} {} {}", + "A:".green().bold(), p, "@".yellow().bold(), version_str.blue() @@ -45,8 +45,8 @@ pub fn print_removed(set: HashSet<&str>, pre: &HashMap<&str, HashSet<&str>>, col version_vec.sort_unstable(); let version_str = version_vec.join(", "); println!( - "{} {:col_width$} {} {}", - "[R:]".red().bold(), + "[{}] {:col_width$} {} {}", + "R:".red().bold(), p, "@".yellow(), version_str.blue() @@ -86,8 +86,8 @@ pub fn print_changes( let version_str_post = version_vec_post.join(", "); println!( - "{} {:col_width$} {} {} ~> {}", - "[C:]".bold().bright_yellow(), + "[{}] {:col_width$} {} {} ~> {}", + "C:".bold().bright_yellow(), p, "@".yellow(), version_str_pre.magenta(),