mirror of
https://github.com/archtechx/todo-system.git
synced 2025-12-12 09:04:03 +00:00
formatting
This commit is contained in:
parent
7bb891503f
commit
df395e08ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue