Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kokofixcomputers committed Oct 8, 2024
1 parent 2b33de0 commit 000e979
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ jobs:
- name: Create GitHub Release
uses: softprops/action-gh-release@v1
with:
tag_name: v1.2.2 # Change this to your desired version/tag
name: "Release v1.2.2" # Change this to your desired release name
tag_name: v1.2.3 # Change this to your desired version/tag
name: "Release v1.2.3" # Change this to your desired release name
files: release/kokofixcomputers/panel.tar.gz # Specify the file to attach
draft: false # Set to true if you want to create a draft release
prerelease: false # Set to true if this is a pre-release
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.2
1.2.3
6 changes: 4 additions & 2 deletions resources/scripts/components/server/console/Console.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ import { usePersistedState } from '@/plugins/usePersistedState';
import { SocketEvent, SocketRequest } from '@/components/server/events';
import 'xterm/css/xterm.css';
import Tooltip from '@/components/elements/tooltip/Tooltip';
import { useStoreState } from 'easy-peasy';


const theme = {
background: th`colors.black`.toString(),
Expand Down Expand Up @@ -52,12 +54,12 @@ const terminalProps: ITerminalOptions = {
};

export default () => {
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();
const searchAddon = new SearchAddon();
const webLinksAddon = new WebLinksAddon();
const settingsData = useStoreState((state) => state.settings.data);
const searchBar = new SearchBarAddon({ searchAddon });
const [historyIndex, setHistoryIndex] = useState(-1);
const isConsoleDetached = location.pathname.endsWith('/console');
Expand All @@ -66,7 +68,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 TERMINAL_PRELUDE = `\u001b[1m\u001b[33m${settingsData?.consolemessagename ?? 'Jexactyl-fork'}: \u001b[0m`;

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

0 comments on commit 000e979

Please sign in to comment.