Clear repeat overviewRulerWidth option in demo

This commit is contained in:
tisilent
2023-09-14 17:26:30 +08:00
parent bdb25c2dbe
commit 9048ded5eb
+1 -3
View File
@@ -460,9 +460,7 @@ function initOptions(term: TerminalType): void {
};
const options = Object.getOwnPropertyNames(term.options);
const booleanOptions = [];
const numberOptions = [
'overviewRulerWidth'
];
const numberOptions = [];
options.filter(o => blacklistedOptions.indexOf(o) === -1).forEach(o => {
switch (typeof term.options[o]) {
case 'boolean':