Skip to content

Commit 49fdacb

Browse files
authored
fix BCE render bug in canvas renderer
1 parent a359c7c commit 49fdacb

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

addons/xterm-addon-canvas/src/TextRenderLayer.ts

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,11 @@ export class TextRenderLayer extends BaseRenderLayer {
9696
}
9797

9898
// exit early for NULL and SP
99-
const code = cell.getCode();
100-
if (code === 0 || code === 32) {
101-
continue;
102-
}
99+
// NOTE: commented out due to #4120 (needs a more clever patch to keep things performant)
100+
// const code = cell.getCode();
101+
// if (code === 0 || code === 32) {
102+
// continue;
103+
// }
103104

104105
// Process any joined character ranges as needed. Because of how the
105106
// ranges are produced, we know that they are valid for the characters

0 commit comments

Comments
 (0)