Method AppendCellAnsi
AppendCellAnsi(Cell, Utf8Buffer, ref Attribute?, ref TextStyle, int, ref int, ref int)
Appends ANSI sequences for a single cell to the output.
protected void AppendCellAnsi(Cell cell, Utf8Buffer output, ref Attribute? lastAttr, ref TextStyle redrawTextStyle, int maxCol, ref int currentCol, ref int outputWidth)
Parameters
cellCellThe cell to append ANSI for.
outputUtf8BufferThe StringBuilder to append to.
lastAttrAttribute?The last attribute used, updated if the cell's attribute is different.
redrawTextStyleTextStyleThe current text style for optimization.
maxColintThe maximum column, used for wide character handling.
currentColintThe current column, updated for wide characters.
outputWidthintThe current output width, updated for wide characters.