Skip to content

Commit

Permalink
Update Console.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers authored Oct 8, 2024
1 parent 744261f commit 2b33de0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion resources/scripts/components/server/console/Console.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const terminalProps: ITerminalOptions = {
};

export default () => {
const TERMINAL_PRELUDE = '\u001b[1m\u001b[33mJexactyl-fork: \u001b[0m';
const TERMINAL_PRELUDE = `\u001b[1m\u001b[33m${settingsData.consolemessagename}: \u001b[0m`;
const ref = useRef<HTMLDivElement>(null);
const terminal = useMemo(() => new Terminal({ ...terminalProps }), []);
const fitAddon = new FitAddon();
Expand All @@ -66,6 +66,7 @@ export default () => {
const { connected, instance } = ServerContext.useStoreState((state) => state.socket);
const isTransferring = ServerContext.useStoreState((state) => state.server.data!.isTransferring);
const [history, setHistory] = usePersistedState<string[]>(`${serverId}:command_history`, []);
const settingsData = useStoreState((state) => state.settings.data);

const zIndex = `
.xterm-search-bar__addon {
Expand Down

0 comments on commit 2b33de0

Please sign in to comment.