Browse Source

Allow lowercase y to be interpreted as yes

dan
Kenneth Bruen 3 years ago
parent
commit
ead914fdbe
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 2
      Program.cs

2
Program.cs

@ -26,7 +26,7 @@ bool printSteps = false;
Console.WriteLine(); Console.WriteLine();
Console.WriteLine("Show each step? (Y/N) "); Console.WriteLine("Show each step? (Y/N) ");
if(Console.ReadLine()?.Trim() == "Y") { if(Console.ReadLine()?.Trim().ToUpperInvariant() == "Y") {
printSteps = true; printSteps = true;
} }

Loading…
Cancel
Save