Update terminal-panel.tsx

This commit is contained in:
MacRimi
2025-11-23 19:25:49 +01:00
parent e38174110e
commit c35b66f6e1

View File

@@ -360,13 +360,14 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
]).then(([Terminal, FitAddon]) => [Terminal, FitAddon])
const term = new TerminalClass({
fontFamily: '"Courier New", Courier, monospace',
fontSize: isMobile ? 11 : 13,
rendererType: isMobile ? "dom" : "canvas",
customGlyphs: false,
fontFamily: '"DejaVu Sans Mono", "Liberation Mono", "Courier New", Courier, monospace',
fontSize: isMobile ? 13 : 14,
lineHeight: 1,
cursorBlink: true,
scrollback: 2000,
disableStdin: false,
customGlyphs: false,
theme: {
background: "#000000",
foreground: "#ffffff",