Fixed pattern reading when inputing DONE, which would lead to incorrect sizing of the pattern transcribed to the matrix and caused drifting in relation to the original.

This commit is contained in:
Dyego Maas
2022-01-12 16:04:14 -03:00
parent f621116064
commit 159aa46e21

View File

@@ -23,7 +23,6 @@ IEnumerable<string> ReadPattern(int limitHeight)
var input = Console.ReadLine();
if (input.ToUpper() == "DONE")
{
yield return string.Empty;
break;
}