StyleTransition(AnsiStyle, AnsiStyle) Method

Definition

Namespace XenoAtom.Ansi
Assembly XenoAtom.Ansi.dll

Emits a minimal SGR sequence that transitions from one style to another.

public AnsiWriter StyleTransition(AnsiStyle from, AnsiStyle to)

Parameters

from
AnsiStyle

The current style.

to
AnsiStyle

The desired style.

Returns

AnsiWriter
This writer, for fluent chaining.