Add handling of invisible

This commit is contained in:
tisilent
2023-09-08 17:34:03 +08:00
parent 29dd30a98d
commit c64115e0a0
@@ -180,7 +180,11 @@ export class DomRendererRowFactory {
&& !isDecorated
) {
// no span alterations, thus only account chars skipping all code below
text += chars;
if (cell.isInvisible()) {
text += WHITESPACE_CELL_CHAR;
} else {
text += chars;
}
cellAmount++;
continue;
} else {