Made some UI changes and code cleanup. Split screen working great, readying for release for user testing (without persistence or launchpad for now).

This commit is contained in:
Karmaa
2025-03-05 14:46:46 -06:00
parent a6295e5e7e
commit 713d43fc52
6 changed files with 141 additions and 92 deletions

View File

@@ -4,6 +4,7 @@ import { FitAddon } from "@xterm/addon-fit";
import "@xterm/xterm/css/xterm.css";
import io from "socket.io-client";
import PropTypes from "prop-types";
import theme from "./theme";
export function NewTerminal({ hostConfig }) {
const terminalRef = useRef(null);
@@ -16,9 +17,9 @@ export function NewTerminal({ hostConfig }) {
const terminal = new Terminal({
cursorBlink: true,
theme: {
background: "#242424",
foreground: "#ffffff",
cursor: "#ffffff",
background: theme.palette.background.terminal,
foreground: theme.palette.text.primary,
cursor: theme.palette.text.primary,
},
fontSize: 14,
scrollback: 1000,