fix imports

This commit is contained in:
Jörg Breitbart
2019-05-11 17:56:26 +02:00
66 changed files with 728 additions and 402 deletions
+4 -1
View File
@@ -260,8 +260,11 @@ function initOptions(term: TerminalType): void {
console.log('change', o, input.value);
if (o === 'cols' || o === 'rows') {
updateTerminalSize();
} else if (o === 'lineHeight') {
term.setOption(o, parseFloat(input.value));
updateTerminalSize();
} else {
term.setOption(o, o === 'lineHeight' ? parseFloat(input.value) : parseInt(input.value, 10));
term.setOption(o, parseInt(input.value));
}
});
});