Skip to content
Snippets Groups Projects
Commit 1a2fc92c authored by Stephen D's avatar Stephen D
Browse files

progress bar

parent 790207ed
No related branches found
No related tags found
No related merge requests found
......@@ -72,7 +72,9 @@ fn main() -> anyhow::Result<()> {
write!(&mut ser, "IN; SP 5; VS 40;")?;
let mut buf = [0];
for (x, y) in triangle.take(10_000) {
for (i, (x, y)) in triangle.enumerate() {
println!("{}", i);
// wait until our buffer is empty
write!(&mut ser, "OA;")?;
loop {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment