mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-11-22 14:09:16 +01:00
bold names
This commit is contained in:
parent
3c9f42d384
commit
2f79863150
@ -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::Directory => ("/".to_owned() + &name).bright_blue(),
|
||||||
sc64::ff::EntryInfo::File { size: _ } => name.bright_green(),
|
sc64::ff::EntryInfo::File { size: _ } => name.bright_green(),
|
||||||
};
|
};
|
||||||
println!("{info} {datetime} | {name}");
|
println!("{info} {datetime} | {}", name.bold());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SDCommands::Stat { path } => {
|
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::Directory => ("/".to_owned() + &name).bright_blue(),
|
||||||
sc64::ff::EntryInfo::File { size: _ } => name.bright_green(),
|
sc64::ff::EntryInfo::File { size: _ } => name.bright_green(),
|
||||||
};
|
};
|
||||||
println!("{info} {datetime} | {name}");
|
println!("{info} {datetime} | {}", name.bold());
|
||||||
}
|
}
|
||||||
SDCommands::Move { src, dst } => {
|
SDCommands::Move { src, dst } => {
|
||||||
ff.rename(src, dst)?;
|
ff.rename(src, dst)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user