// Update the cell width. private void UpdateWidth() { cell.width += Utf8.RuneCount(buf.Bytes().Slice(pos, buf.Len()).ToArray()); pos = buf.Len(); }