Browse Source

Add -w or --wait to wait for keypress before close

master
Kenneth Bruen 3 years ago
parent
commit
274c9b0d42
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 4
      Program.cs

4
Program.cs

@ -39,6 +39,10 @@ if(printSteps) {
algoBoard.RunIdaStar();
PrintBoard(0, true, clearScreen: printSteps);
if (args.Contains("-w") || args.Contains("--wait")) {
Console.ReadKey();
}
static void FormattedLabRow(string line) {
char[] characters = line.ToCharArray();
foreach (char c in characters) {

Loading…
Cancel
Save