🐛 Fix `run <n>` in stackline-cli

main
Shad Amethyst 2 years ago
parent 8654d25c65
commit 0945010f0f
Signed by: amethyst
GPG Key ID: D970C8DD1D6DEE36

@ -293,7 +293,7 @@ fn run(world: &mut World, steps: usize) -> std::io::Result<()> {
let mut first = true;
world.init();
for _ in 0..steps {
for _ in 0..=steps {
if !first {
world.step();
write!(stdout, "\x1b[{};A", world.get_bounds().3)?;

Loading…
Cancel
Save