diff --git a/src/Generator/Utils/TextGenerator.cs b/src/Generator/Utils/TextGenerator.cs index a3abba17..030468b8 100644 --- a/src/Generator/Utils/TextGenerator.cs +++ b/src/Generator/Utils/TextGenerator.cs @@ -31,7 +31,7 @@ namespace Cxxi msg = string.Format(msg, args); if (msg.Length > 0) - isStartOfLine = false; + isStartOfLine = msg.EndsWith(System.Environment.NewLine); sb.Append(msg); }