mirror of
https://git.aramjonghu.dev/AramJonghu/rustlings.git
synced 2026-09-01 07:53:30 +02:00
LOL, swapped colors
This commit is contained in:
+2
-2
@@ -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 ")?;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user