From 6738175144d6f1ede9e8f45dbfb34e71332975f3 Mon Sep 17 00:00:00 2001 From: smabuk <2011834+smabuk@users.noreply.github.com> Date: Wed, 18 Dec 2024 03:48:55 +0000 Subject: [PATCH] Tweak console output for slightly larger results --- Console/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Console/Program.cs b/Console/Program.cs index 3a87f79..53dc278 100644 --- a/Console/Program.cs +++ b/Console/Program.cs @@ -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); @@ -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);