mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-14 16:16:21 +00:00
Update AppImage
This commit is contained in:
@@ -360,14 +360,13 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
]).then(([Terminal, FitAddon]) => [Terminal, FitAddon])
|
]).then(([Terminal, FitAddon]) => [Terminal, FitAddon])
|
||||||
|
|
||||||
const term = new TerminalClass({
|
const term = new TerminalClass({
|
||||||
rendererType: isMobile ? "dom" : "canvas",
|
fontFamily: '"DejaVu Sans Mono", "Liberation Mono", "Menlo", "Monaco", "Consolas", "Courier New", monospace',
|
||||||
fontFamily: 'Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier New", monospace',
|
|
||||||
fontSize: isMobile ? 13 : 14,
|
fontSize: isMobile ? 11 : 13,
|
||||||
lineHeight: 1,
|
|
||||||
cursorBlink: true,
|
cursorBlink: true,
|
||||||
scrollback: 2000,
|
scrollback: 2000,
|
||||||
disableStdin: false,
|
disableStdin: false,
|
||||||
customGlyphs: false,
|
customGlyphs: true,
|
||||||
theme: {
|
theme: {
|
||||||
background: "#000000",
|
background: "#000000",
|
||||||
foreground: "#ffffff",
|
foreground: "#ffffff",
|
||||||
@@ -392,8 +391,6 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const fitAddon = new FitAddonClass()
|
const fitAddon = new FitAddonClass()
|
||||||
term.loadAddon(fitAddon)
|
term.loadAddon(fitAddon)
|
||||||
|
|
||||||
|
|||||||
@@ -151,7 +151,7 @@ def terminal_websocket(ws):
|
|||||||
fcntl.fcntl(master_fd, fcntl.F_SETFL, flags | os.O_NONBLOCK)
|
fcntl.fcntl(master_fd, fcntl.F_SETFL, flags | os.O_NONBLOCK)
|
||||||
|
|
||||||
# Set initial terminal size
|
# 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
|
# Start thread to read PTY output and forward to WebSocket
|
||||||
output_thread = threading.Thread(
|
output_thread = threading.Thread(
|
||||||
|
|||||||
Reference in New Issue
Block a user