Merge pull request #2550 from Tyriar/2549_refresh_options

Refresh rows on options change for all renderers
This commit is contained in:
Daniel Imms
2019-11-09 10:37:28 -08:00
committed by GitHub
3 changed files with 1 additions and 2 deletions
@@ -189,7 +189,6 @@ export class WebglRenderer extends Disposable implements IRenderer {
this._rectangleRenderer.updateSelection(this._model.selection, columnSelectMode);
this._glyphRenderer.updateSelection(this._model, columnSelectMode);
// TODO: #2102 Should this move to RenderCoordinator?
this._onRequestRefreshRows.fire({ start: 0, end: this._terminal.rows - 1 });
}
-1
View File
@@ -340,7 +340,6 @@ export class DomRenderer extends Disposable implements IRenderer {
// Force a refresh
this._updateDimensions();
this._injectCss();
this._onRequestRefreshRows.fire({ start: 0, end: this._bufferService.rows - 1 });
}
public clear(): void {
+1
View File
@@ -95,6 +95,7 @@ export class RenderService extends Disposable implements IRenderService {
public changeOptions(): void {
this._renderer.onOptionsChanged();
this.refreshRows(0, this._rowCount - 1);
this._fireOnCanvasResize();
}