From da793856ce48893abf53e538ce38f59cb2a654fa Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 23 Nov 2025 23:46:34 +0100 Subject: [PATCH] Update terminal-panel.tsx --- AppImage/components/terminal-panel.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index bcbf65e..fe025bf 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -359,12 +359,10 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl import("xterm/css/xterm.css"), ]).then(([Terminal, FitAddon]) => [Terminal, FitAddon]) - const fontSize = window.innerWidth < 768 ? 12 : 16 - const term = new TerminalClass({ rendererType: "dom", fontFamily: '"Courier", "Courier New", "Liberation Mono", "DejaVu Sans Mono", monospace', - fontSize: fontSize, + fontSize: isMobile ? 12 : 16, lineHeight: 1, cursorBlink: true, scrollback: 2000,