Table of Contents

Method AppendCellAnsi

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

AppendCellAnsi(Cell, StringBuilder, ref Attribute?, ref TextStyle, int, ref int)

Appends ANSI sequences for a single cell to the output.

protected void AppendCellAnsi(Cell cell, StringBuilder output, ref Attribute? lastAttr, ref TextStyle redrawTextStyle, int maxCol, ref int currentCol)

Parameters

cell Cell

The cell to append ANSI for.

output StringBuilder

The StringBuilder to append to.

lastAttr Attribute?

The last attribute used, updated if the cell's attribute is different.

redrawTextStyle TextStyle

The current text style for optimization.

maxCol int

The maximum column, used for wide character handling.

currentCol int

The current column, updated for wide characters.