mirror of
https://github.com/notohh/rustlings.git
synced 2024-12-17 22:58:08 -05:00
LOL, swapped colors
This commit is contained in:
parent
833e6e0c92
commit
cb86b44dea
1 changed files with 2 additions and 2 deletions
|
@ -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 ")?;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue