LOL, swapped colors

This commit is contained in:
mo8it 2024-08-26 00:40:30 +02:00
parent 833e6e0c92
commit cb86b44dea

View file

@ -178,10 +178,10 @@ impl<'a> ListState<'a> {
} }
if exercise.done { if exercise.done {
stdout.queue(SetForegroundColor(Color::Yellow))?; stdout.queue(SetForegroundColor(Color::Green))?;
stdout.write_all(b"DONE ")?; stdout.write_all(b"DONE ")?;
} else { } else {
stdout.queue(SetForegroundColor(Color::Green))?; stdout.queue(SetForegroundColor(Color::Yellow))?;
stdout.write_all(b"PENDING ")?; stdout.write_all(b"PENDING ")?;
} }