parent
d9d118c7f7
commit
1141593f92
1 changed files with 3 additions and 3 deletions
|
@ -327,6 +327,9 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
|||
});
|
||||
|
||||
this.addDisposable(this._configurationService.onDidChangeConfiguration(async e => {
|
||||
if (e.affectsConfiguration(TerminalSettingId.GpuAcceleration)) {
|
||||
this._storageService.remove(TerminalStorageKeys.SuggestedRendererType, StorageScope.GLOBAL);
|
||||
}
|
||||
if (e.affectsConfiguration('terminal.integrated') || e.affectsConfiguration('editor.fastScrollSensitivity') || e.affectsConfiguration('editor.mouseWheelScrollSensitivity') || e.affectsConfiguration('editor.multiCursorModifier')) {
|
||||
this.updateConfig();
|
||||
// HACK: Trigger another async layout to ensure xterm's CharMeasure is ready to use,
|
||||
|
@ -352,9 +355,6 @@ export class TerminalInstance extends Disposable implements ITerminalInstance {
|
|||
if (e.affectsConfiguration('editor.accessibilitySupport')) {
|
||||
this.updateAccessibilitySupport();
|
||||
}
|
||||
if (e.affectsConfiguration(TerminalSettingId.GpuAcceleration)) {
|
||||
this._storageService.remove(TerminalStorageKeys.SuggestedRendererType, StorageScope.GLOBAL);
|
||||
}
|
||||
}));
|
||||
|
||||
// Clear out initial data events after 10 seconds, hopefully extension hosts are up and
|
||||
|
|
Loading…
Reference in a new issue