From e34d77d5630bedbefc99b2707d4f930bc8ca3d36 Mon Sep 17 00:00:00 2001 From: zhangyu Date: Wed, 21 Jun 2023 17:17:46 +0800 Subject: [PATCH] =?UTF-8?q?NEZ-2882=20fix=EF=BC=9A=20Web=20terminal?= =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E4=B8=AD=E6=96=87=E6=96=87=E6=9C=AC=E6=97=B6?= =?UTF-8?q?=E6=96=87=E5=AD=97=E4=B8=8A=E6=96=B9=E6=97=A0=E6=B3=95=E5=85=A8?= =?UTF-8?q?=E9=83=A8=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/components/cli/consoleNew.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nezha-fronted/src/components/cli/consoleNew.vue b/nezha-fronted/src/components/cli/consoleNew.vue index eca10d6a3..27032f7d0 100644 --- a/nezha-fronted/src/components/cli/consoleNew.vue +++ b/nezha-fronted/src/components/cli/consoleNew.vue @@ -94,7 +94,8 @@ export default { this.term = new Terminal({ cursorStyle: 'block', // 光标样式 null | 'block' | 'underline' | 'bar' disableStdin: false, // 是否应禁用输入 - fontSize: 16 + fontSize: 16, + lineHeight: 1.2 }) this.term.open(terminalContainer) this.term.focus()