using Attribute = Terminal.Gui.Drawing.Attribute; namespace EchoHub.Client.UI.Chat; /// /// A colored text segment within a chat line. /// public record ChatSegment(string Text, Attribute? Color);