From 5b7078540d35cddca912fa33803cd686d06b8919 Mon Sep 17 00:00:00 2001 From: AviPeltz Date: Mon, 3 Nov 2025 13:52:57 -0800 Subject: [PATCH] padding fix --- .../main/components/MainContent/Terminal.tsx | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/apps/desktop/src/renderer/screens/main/components/MainContent/Terminal.tsx b/apps/desktop/src/renderer/screens/main/components/MainContent/Terminal.tsx index 7f89cce3c4c..3445d5fb639 100644 --- a/apps/desktop/src/renderer/screens/main/components/MainContent/Terminal.tsx +++ b/apps/desktop/src/renderer/screens/main/components/MainContent/Terminal.tsx @@ -8,6 +8,13 @@ import { WebLinksAddon } from "@xterm/addon-web-links"; // WebglAddon disabled due to cursor positioning issues with autocomplete // import { WebglAddon } from "@xterm/addon-webgl"; +// Custom styles for terminal padding +const terminalStyles = ` + .terminal-with-padding .xterm-screen { + padding: 8px; + } +`; + interface TerminalProps { terminalId?: string | null; hidden?: boolean; @@ -421,9 +428,12 @@ export default function TerminalComponent({ } return ( -
+ <> + +
+ ); }