mirror of
https://github.com/wavetermdev/xterm.js.git
synced 2026-08-05 13:43:48 -07:00
Ensure GlyphRenderer._atlas exists on beginFrame
This should fix an exception breaking it in vscode
This commit is contained in:
@@ -165,7 +165,7 @@ export class GlyphRenderer {
|
||||
}
|
||||
|
||||
public beginFrame(): boolean {
|
||||
return this._atlas.beginFrame();
|
||||
return this._atlas ? this._atlas.beginFrame() : true;
|
||||
}
|
||||
|
||||
public updateCell(x: number, y: number, code: number, attr: number, bg: number, fg: number, chars: string): void {
|
||||
|
||||
Reference in New Issue
Block a user