Skip to content

Commit

Permalink
Tweak console output for slightly larger results
Browse files Browse the repository at this point in the history
  • Loading branch information
smabuk committed Dec 18, 2024
1 parent 1945d90 commit 6738175
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Console/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ static async Task GetInputDataAndSolve(int year, int day, Lock consolelock, stri
if (result.Answer.StartsWith('*')) {
Console.ForegroundColor = ConsoleColor.Red;
};
Console.Write($" {result.Answer,-16}");
Console.Write($" {result.Answer,-17}");
} else if (result.Phase == PHASE_PART2) {
answerColour = ConsoleColor.Yellow;
OutputTimings(result.Elapsed);
Expand All @@ -64,7 +64,7 @@ static async Task GetInputDataAndSolve(int year, int day, Lock consolelock, stri
if (result.Answer.StartsWith('*')) {
Console.ForegroundColor = ConsoleColor.Red;
};
Console.Write($" {result.Answer,-16}");
Console.Write($" {result.Answer,-17}");
} else if (result.Phase == EXCEPTION_PART1) {
answerColour = ConsoleColor.Green;
OutputTimings(result.Elapsed);
Expand Down

0 comments on commit 6738175

Please sign in to comment.