SetMarkupStyle(String, AnsiStyle) Method

Definition

Assembly XenoAtom.Terminal.dll

Updates or adds a custom markup style token and invalidates cached markup renderers.

public TerminalInstance SetMarkupStyle(string token, AnsiStyle style)

Parameters

token
String

The token name (e.g. primary).

style
AnsiStyle

The style associated with the token.

Returns

TerminalInstance
This instance for fluent usage.