Support pausing in RenderCoordinator
This actually removes the pause rendering functionality when the resize and theme changes but simplifies it as a result, they also rarely happen especially when off screen/hidden. Fixes #2099
This commit is contained in:
+1
-1
@@ -766,7 +766,7 @@ export class Terminal extends EventEmitter implements ITerminal, IDisposable, II
|
||||
this._colorManager.setTheme(this._theme);
|
||||
this._setupRenderer();
|
||||
|
||||
this._renderCoordinator = new RenderCoordinator(this.renderer, this.rows);
|
||||
this._renderCoordinator = new RenderCoordinator(this.renderer, this.rows, this.screenElement);
|
||||
this._renderCoordinator.onRender(e => this._onRender.fire(e));
|
||||
this.onResize(e => this._renderCoordinator.resize(e.cols, e.rows));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user