From 3c640ccf72586f42341bfa3ce9937e1ad67d5078 Mon Sep 17 00:00:00 2001 From: Jianhui Zhao Date: Fri, 13 Dec 2024 12:20:51 +0800 Subject: [PATCH] fix(ui): Fix term window size for `white-list` device Signed-off-by: Jianhui Zhao --- ui/src/views/Rtty.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/src/views/Rtty.vue b/ui/src/views/Rtty.vue index 5aad32c..995778c 100644 --- a/ui/src/views/Rtty.vue +++ b/ui/src/views/Rtty.vue @@ -221,6 +221,8 @@ export default { this.disposables.push({ dispose: () => window.removeEventListener('resize', this.fitTerm) }) + + this.fitTerm() }, dispose() { this.disposables.forEach(d => d.dispose())