From 368eab476a5ebff743abc6c32da078a0883a611d Mon Sep 17 00:00:00 2001 From: MacRimi Date: Sun, 23 Nov 2025 18:41:58 +0100 Subject: [PATCH] Update AppImage --- AppImage/components/terminal-panel.tsx | 11 ++++------- AppImage/scripts/flask_terminal_routes.py | 2 +- 2 files changed, 5 insertions(+), 8 deletions(-) diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index 9df291c..20ef4d5 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -360,14 +360,13 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl ]).then(([Terminal, FitAddon]) => [Terminal, FitAddon]) const term = new TerminalClass({ - rendererType: isMobile ? "dom" : "canvas", - fontFamily: 'Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier New", monospace', - fontSize: isMobile ? 13 : 14, - lineHeight: 1, + fontFamily: '"DejaVu Sans Mono", "Liberation Mono", "Menlo", "Monaco", "Consolas", "Courier New", monospace', + + fontSize: isMobile ? 11 : 13, cursorBlink: true, scrollback: 2000, disableStdin: false, - customGlyphs: false, + customGlyphs: true, theme: { background: "#000000", foreground: "#ffffff", @@ -392,8 +391,6 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }, }) - - const fitAddon = new FitAddonClass() term.loadAddon(fitAddon) diff --git a/AppImage/scripts/flask_terminal_routes.py b/AppImage/scripts/flask_terminal_routes.py index 1016d75..65410ae 100644 --- a/AppImage/scripts/flask_terminal_routes.py +++ b/AppImage/scripts/flask_terminal_routes.py @@ -151,7 +151,7 @@ def terminal_websocket(ws): fcntl.fcntl(master_fd, fcntl.F_SETFL, flags | os.O_NONBLOCK) # Set initial terminal size - # set_winsize(master_fd, 30, 120) + set_winsize(master_fd, 30, 120) # Start thread to read PTY output and forward to WebSocket output_thread = threading.Thread(