Move onSpecificOptionChange adoption

This commit is contained in:
Daniel Imms
2022-10-09 08:07:43 -07:00
parent 415100e8b8
commit 49a0904857
4 changed files with 16 additions and 15 deletions
+1
View File
@@ -75,6 +75,7 @@ export class Viewport extends Disposable implements IViewport {
this._handleThemeChange(themeService.colors);
this.register(themeService.onChangeColors(e => this._handleThemeChange(e)));
this.register(this._optionsService.onSpecificOptionChange('scrollback', () => this.syncScrollArea()));
// Perform this async to ensure the ICharSizeService is ready.
setTimeout(() => this.syncScrollArea(), 0);