From cb86b44dea79b538a9ce62fb230de4b74e95ccf4 Mon Sep 17 00:00:00 2001 From: mo8it Date: Mon, 26 Aug 2024 00:40:30 +0200 Subject: [PATCH] LOL, swapped colors --- src/list/state.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/list/state.rs b/src/list/state.rs index 756814f..eeda110 100644 --- a/src/list/state.rs +++ b/src/list/state.rs @@ -178,10 +178,10 @@ impl<'a> ListState<'a> { } if exercise.done { - stdout.queue(SetForegroundColor(Color::Yellow))?; + stdout.queue(SetForegroundColor(Color::Green))?; stdout.write_all(b"DONE ")?; } else { - stdout.queue(SetForegroundColor(Color::Green))?; + stdout.queue(SetForegroundColor(Color::Yellow))?; stdout.write_all(b"PENDING ")?; }