Allow setting multiple options through term.options

This commit is contained in:
Simon Lamon
2021-11-06 14:36:40 +00:00
parent 394d7a2ee6
commit 3582c00a61
7 changed files with 27 additions and 16 deletions
+6
View File
@@ -131,6 +131,12 @@ export class MockOptionsService implements IOptionsService {
}
}
}
public setOptions(options: ITerminalOptions): void {
for (const key of Object.keys(options)) {
this.options[key] = options[key];
this.publicOptions[key] = options[key];
}
}
public setOption<T>(key: string, value: T): void {
throw new Error('Method not implemented.');
}