VS Code issue: microsoft/vscode#69665
The WebGL renderer has an API to clear the texture atlas which allows an embedder to workaround a texture corruption issue in Chromium (Slack, VS Code, etc.). It's been verified that this fixes it so we should expose an API in xterm.d.ts to do the same just for the canvas renderer
|
public clearTextureAtlas(): void { |
We likely will move the canvas renderer into an addon but that would be a breaking change anyway so we can remove this API at that point.
VS Code issue: microsoft/vscode#69665
The WebGL renderer has an API to clear the texture atlas which allows an embedder to workaround a texture corruption issue in Chromium (Slack, VS Code, etc.). It's been verified that this fixes it so we should expose an API in xterm.d.ts to do the same just for the canvas renderer
xterm.js/addons/xterm-addon-webgl/src/WebglAddon.ts
Line 49 in 504a8eb
We likely will move the canvas renderer into an addon but that would be a breaking change anyway so we can remove this API at that point.