AnsiStyle Struct

Definition

Represents a terminal text style that can be encoded/decoded via SGR (Select Graphic Rendition).

public readonly struct AnsiStyle : IEquatable<AnsiStyle>

Remarks

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.

Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Fields (1)

Properties (3)

Methods (8)

Operators (2)