Update resources/scripts/components/server/console/Console.tsx

This commit is contained in:
denis 2024-11-03 04:36:43 -05:00
parent ac13ea56d7
commit b9c2f4742b

View file

@ -54,7 +54,7 @@ const terminalProps: ITerminalOptions = {
}; };
export default () => { export default () => {
const TERMINAL_PRELUDE = '\u001b[1m\u001b[33mcontainer@pterodactyl~ \u001b[0m'; const TERMINAL_PRELUDE = '\u001b[1m\u001b[33mcontainer@panel~ \u001b[0m';
const ref = useRef<HTMLDivElement>(null); const ref = useRef<HTMLDivElement>(null);
const terminal = useMemo(() => new Terminal({ ...terminalProps }), []); const terminal = useMemo(() => new Terminal({ ...terminalProps }), []);
const fitAddon = new FitAddon(); const fitAddon = new FitAddon();