mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-15 00:26:23 +00:00
Update terminal-panel.tsx
This commit is contained in:
@@ -361,12 +361,15 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
|
|
||||||
const term = new TerminalClass({
|
const term = new TerminalClass({
|
||||||
rendererType: isMobile ? "dom" : "canvas",
|
rendererType: isMobile ? "dom" : "canvas",
|
||||||
fontFamily: 'Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier New", Courier, monospace',
|
fontFamily: '"Courier", "Courier New", "Liberation Mono", "DejaVu Sans Mono", monospace',
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
|
lineHeight: 1,
|
||||||
cursorBlink: true,
|
cursorBlink: true,
|
||||||
scrollback: 2000,
|
scrollback: 2000,
|
||||||
disableStdin: false,
|
disableStdin: false,
|
||||||
customGlyphs: false,
|
customGlyphs: false,
|
||||||
|
fontWeight: "400",
|
||||||
|
fontWeightBold: "700",
|
||||||
theme: {
|
theme: {
|
||||||
background: "#000000",
|
background: "#000000",
|
||||||
foreground: "#ffffff",
|
foreground: "#ffffff",
|
||||||
@@ -388,8 +391,6 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
brightMagenta: "#ad7fa8",
|
brightMagenta: "#ad7fa8",
|
||||||
brightCyan: "#34e2e2",
|
brightCyan: "#34e2e2",
|
||||||
brightWhite: "#eeeeec",
|
brightWhite: "#eeeeec",
|
||||||
fontWeight: "500",
|
|
||||||
fontWeightBold: "700",
|
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user