Re-render browser DOM style onOptionsChanged, fixes xtermjs#4474
Fixes https://github.com/xtermjs/xterm.js/issues/4474
This commit is contained in:
@@ -67,7 +67,10 @@ export class DomRenderer extends Disposable implements IRenderer {
|
||||
|
||||
this.dimensions = createRenderDimensions();
|
||||
this._updateDimensions();
|
||||
this.register(this._optionsService.onOptionChange(() => this._handleOptionsChanged()));
|
||||
this.register(this._optionsService.onOptionChange(() => {
|
||||
this._handleOptionsChanged();
|
||||
this._injectCss(themeService.colors);
|
||||
}));
|
||||
|
||||
this.register(themeService.onChangeColors(e => this._injectCss(e)));
|
||||
this._injectCss(themeService.colors);
|
||||
|
||||
Reference in New Issue
Block a user