Method AppendCellAnsi
AppendCellAnsi(Cell, StringBuilder, ref Attribute?, ref TextStyle, int, ref 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, ref int outputWidth)
Parameters
cellCellThe cell to append ANSI for.
outputStringBuilderThe 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.