From 521c4be3ac1fd079218e5ef1e2f7a77842d82b54 Mon Sep 17 00:00:00 2001 From: Dan Cojocaru Date: Thu, 2 Dec 2021 00:16:52 +0200 Subject: [PATCH] Added delay in order to stop terminal flickering --- Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 8eb7122..8e9c67f 100644 --- a/Program.cs +++ b/Program.cs @@ -1,4 +1,4 @@ -using IdaStar; +using IdaStar; string[] labyrinthIN = System.IO.File.ReadAllLines(@"./labyrinth.txt"); @@ -61,6 +61,7 @@ algoBoard.AlgorithmStep += (_) => { } Console.ResetColor(); Console.WriteLine(); + Thread.Sleep(200); }; algoBoard.RunIdaStar();