1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +02:00

Fixed truncated string in Console.WriteLine test output

This commit is contained in:
Brian Fiete 2021-01-05 15:58:47 -08:00
parent ee8c062253
commit 327a92ba10

View file

@ -198,7 +198,7 @@ namespace IDE
String outputLine = scope String();
outputLine.Append(" >");
if (crPos - lastCrPos - 2 > 0)
outputLine.Append(StringView(queuedOutText, lastCrPos + 1, crPos - lastCrPos - 2));
outputLine.Append(StringView(queuedOutText, lastCrPos + 1, crPos - lastCrPos - 1));
QueueOutputLine(outputLine);
lastCrPos = crPos;