Table of Contents

Method AppendOrWriteAttribute

Namespace
Terminal.Gui.Drivers
Assembly
Terminal.Gui.dll

AppendOrWriteAttribute(StringBuilder, Attribute, TextStyle)

Changes the color and text style of the console to the given attr and redrawTextStyle. If command can be buffered in line with other output (e.g. CSI sequence) then it should be appended to output otherwise the relevant output state should be flushed directly (e.g. by calling relevant win 32 API method)

protected override void AppendOrWriteAttribute(StringBuilder output, Attribute attr, TextStyle redrawTextStyle)

Parameters

output StringBuilder
attr Attribute
redrawTextStyle TextStyle