Force clear of the glyph renderer when switching

Fixes #3617
This commit is contained in:
Daniel Imms
2022-02-03 08:33:22 -08:00
parent b39d245050
commit fea1079b1e
3 changed files with 28 additions and 20 deletions
@@ -247,6 +247,8 @@ export class WebglRenderer extends Disposable implements IRenderer {
}
public clear(): void {
this._model.clear();
this._glyphRenderer.clear(true);
for (const l of this._renderLayers) {
l.reset(this._terminal);
}