AnsiStyle.set

Enables/Disables a certain styling option.

struct AnsiStyle
@safe @nogc nothrow pure return
set

Parameters

style AnsiSgrStyle

The styling option to enable/disable.

enable bool

If true, enable the option. If false, disable it.

Return Value

Type: AnsiStyle

this for chaining.

Meta