feat: improve word wrapping in ChatLine

This commit is contained in:
Stone_Red
2026-02-24 13:53:40 +01:00
parent cf5fca5772
commit 3273e62b37
3 changed files with 70 additions and 37 deletions
@@ -259,6 +259,9 @@ public sealed class ChatMessageManager
lines.Add(new ChatLine(ChatColors.SplitMentions(contText)));
}
foreach (var l in lines)
l.ContinuationIndent = indent.Length;
if (message.Embeds is { Count: > 0 })
{
var chatWidth = _chatWidth > 0 ? _chatWidth : 80;