diff options
author | Noah Loomans <noahloomans@gmail.com> | 2018-04-22 17:06:40 +0200 |
---|---|---|
committer | Noah Loomans <noahloomans@gmail.com> | 2018-04-22 17:06:40 +0200 |
commit | 104f73d835c2565dfab12b2909bd2ab68c265027 (patch) | |
tree | b4e6aebdb2d0d67e42e600f887c6678132999624 /maze_solver.rb | |
parent | e5b08e0edb4c1c30c368c338a9148b846b087f5f (diff) |
Reset line before printing lines with dynamic length
Diffstat (limited to 'maze_solver.rb')
-rw-r--r-- | maze_solver.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/maze_solver.rb b/maze_solver.rb index 90af0c1..2f75111 100644 --- a/maze_solver.rb +++ b/maze_solver.rb @@ -31,6 +31,7 @@ class MazeSolver TUI::Cursor.restore puts @maze.to_s(" ", @stack) puts + TUI::Screen.reset_line puts " Stack size: #{@stack.length}" puts " Current algorithm: Depth-first search" end |