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 ( -
+ <> + + + > ); }