diff --git a/RecrownedAthenaeum.ConsoleTools/ConsoleUtilities.cs b/RecrownedAthenaeum.ConsoleTools/ConsoleUtilities.cs index 3999d18..1837265 100644 --- a/RecrownedAthenaeum.ConsoleTools/ConsoleUtilities.cs +++ b/RecrownedAthenaeum.ConsoleTools/ConsoleUtilities.cs @@ -15,12 +15,12 @@ namespace RecrownedAthenaeum.Tools public static string WrapMessageToConsoleWidth(string message) { - string[] words = message.Replace("\t", "").Split(' '); + string[] words = message.Split(' '); StringBuilder stringBuilder = new StringBuilder(); int currentLineSize = 0; for (int i = 0; i < words.Length; i++) { - if (currentLineSize + words[i].Length >= Console.BufferWidth) + if (currentLineSize + words[i].Length >= Console.BufferWidth - Console.CursorLeft) { currentLineSize = 0; stringBuilder.AppendLine();