fix: 解决终端字体大小变化时内容显示不全的问题 (#1572)

pull/1573/head
ssongliu 2023-07-07 11:18:11 +08:00 committed by GitHub
parent afcebb46a0
commit 044bb79ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ const onTermWheel = (event: WheelEvent) => {
} else {
term.value.options.fontSize = term.value.options.fontSize + 1;
}
changeTerminalSize();
}
};