mirror of
https://github.com/dancojocaru2000/ai-project-idastar.git
synced 2025-02-23 00:49:34 +02:00
Allow lowercase y to be interpreted as yes
This commit is contained in:
parent
130b869f07
commit
ead914fdbe
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue