From 2f798631502318901c0edb85b740527af1ffb3f0 Mon Sep 17 00:00:00 2001 From: Mateusz Faderewski Date: Fri, 27 Sep 2024 20:44:16 +0200 Subject: [PATCH] bold names --- sw/deployer/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sw/deployer/src/main.rs b/sw/deployer/src/main.rs index 2cdb615..1a08620 100644 --- a/sw/deployer/src/main.rs +++ b/sw/deployer/src/main.rs @@ -867,7 +867,7 @@ fn handle_sd_command(connection: Connection, command: &SDCommands) -> Result<(), sc64::ff::EntryInfo::Directory => ("/".to_owned() + &name).bright_blue(), sc64::ff::EntryInfo::File { size: _ } => name.bright_green(), }; - println!("{info} {datetime} | {name}"); + println!("{info} {datetime} | {}", name.bold()); } } SDCommands::Stat { path } => { @@ -880,7 +880,7 @@ fn handle_sd_command(connection: Connection, command: &SDCommands) -> Result<(), sc64::ff::EntryInfo::Directory => ("/".to_owned() + &name).bright_blue(), sc64::ff::EntryInfo::File { size: _ } => name.bright_green(), }; - println!("{info} {datetime} | {name}"); + println!("{info} {datetime} | {}", name.bold()); } SDCommands::Move { src, dst } => { ff.rename(src, dst)?;