diff --git a/src/common/services/OptionsService.ts b/src/common/services/OptionsService.ts index ec099f14..a4b06404 100644 --- a/src/common/services/OptionsService.ts +++ b/src/common/services/OptionsService.ts @@ -74,7 +74,7 @@ export class OptionsService implements IOptionsService { for (const k of Object.keys(options)) { if (k in this.options) { const newValue = options[k as keyof IPartialTerminalOptions] as any; - this.options[k] = newValue; + this.options[k] = this._sanitizeAndValidateOption(k, newValue); } } }