mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-14 08:06:22 +00:00
Update AppImage
This commit is contained in:
@@ -360,15 +360,14 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
||||
]).then(([Terminal, FitAddon]) => [Terminal, FitAddon])
|
||||
|
||||
const term = new TerminalClass({
|
||||
fontFamily: 'Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier", monospace',
|
||||
fontSize: isMobile ? 13 : 14,
|
||||
lineHeight: 1,
|
||||
rendererType: isMobile ? "dom" : "canvas",
|
||||
fontFamily: 'Consolas, "DejaVu Sans Mono", "Liberation Mono", "Courier New", monospace',
|
||||
fontSize: isMobile ? 13 : 14,
|
||||
lineHeight: 1,
|
||||
cursorBlink: true,
|
||||
scrollback: 2000,
|
||||
disableStdin: false,
|
||||
customGlyphs: false,
|
||||
cols: isMobile ? 80 : layout === "grid" ? 100 : 120,
|
||||
rows: isMobile ? 24 : layout === "grid" ? 30 : 40,
|
||||
customGlyphs: false,
|
||||
theme: {
|
||||
background: "#000000",
|
||||
foreground: "#ffffff",
|
||||
@@ -394,6 +393,7 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
||||
})
|
||||
|
||||
|
||||
|
||||
const fitAddon = new FitAddonClass()
|
||||
term.loadAddon(fitAddon)
|
||||
|
||||
|
||||
@@ -151,7 +151,7 @@ def terminal_websocket(ws):
|
||||
fcntl.fcntl(master_fd, fcntl.F_SETFL, flags | os.O_NONBLOCK)
|
||||
|
||||
# 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
|
||||
output_thread = threading.Thread(
|
||||
|
||||
Reference in New Issue
Block a user