1
0
Fork 0
mirror of https://github.com/archtechx/todo-system.git synced 2025-12-12 09:04:03 +00:00

formatting

This commit is contained in:
Samuel Štancl 2023-11-26 21:11:32 +01:00
parent 7bb891503f
commit df395e08ef

View file

@ -26,7 +26,7 @@ impl Entry {
pub fn write_ansi(stdout: &mut StandardStream, color: Color, text: &str, bold: bool) {
stdout.set_color(
ColorSpec::new()
ColorSpec::new()
.set_fg(Some(color))
.set_bold(bold)
).unwrap();