Browse Source

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

pull/1573/head
ssongliu 1 year ago committed by GitHub
parent
commit
044bb79ae9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      frontend/src/components/terminal/index.vue

1
frontend/src/components/terminal/index.vue

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

Loading…
Cancel
Save