Represents a terminal text style that can be encoded/decoded via SGR (Select Graphic Rendition).
public readonly struct AnsiStyle : IEquatable<AnsiStyle>
This is a minimal model intended for rich-output renderers. It does not attempt to model the full terminal state. Null foreground/background indicates "no change / inherit" when used in transitions.
kind:method, kind:property, kind:ctor. Press Esc to clear.DecorationsGets the decoration flags.ForegroundGets the foreground color, or null to indicate "unset / inherit".ResolveMissingFrom(AnsiStyle)Resolves null foreground/background values from the specified fallback style.WithBackground(Nullable<AnsiColor>)Returns a copy of this style with a new background color.