fixed win state condition

This commit is contained in:
Uğur Küpeli
2022-05-03 10:28:20 +03:00
parent 056312f359
commit 856da24488
2 changed files with 13 additions and 5 deletions

View File

@@ -16,4 +16,14 @@ impl Progress {
print!("{}", c);
}
}
pub fn done(&self) -> bool {
for c in self.chars {
if c == '-' {
return false;
}
}
true
}
}