mirror of
https://github.com/Stone-Red-Code/Maze.git
synced 2026-09-04 00:56:11 +02:00
Fix alignment issues when printing "Done"
This commit is contained in:
+2
-1
@@ -20,10 +20,11 @@ try
|
||||
Console.Clear();
|
||||
}
|
||||
|
||||
List<DfsNode> solution = solver.Solve(startNode, maze, GraphicsMode.Colored);
|
||||
List<DfsNode> solution = solver.Solve(startNode, maze, GraphicsMode.None);
|
||||
|
||||
printer.PrintColored(maze, solution, redrawAll: true);
|
||||
|
||||
Console.SetCursorPosition(0, maze.GetLength(0));
|
||||
ConsoleExt.WriteLine("Done", ConsoleColor.Green);
|
||||
}
|
||||
catch (MazeException e)
|
||||
|
||||
Reference in New Issue
Block a user