refactor: cleanup main.ts styling

This commit is contained in:
Maarten van Heusden
2026-02-01 17:37:32 +01:00
parent 43a9d159df
commit 7888f373af

View File

@@ -1,10 +1,10 @@
import $ from "jquery";
import {invoke} from "@tauri-apps/api/core";
import {open as openDialog} from "@tauri-apps/plugin-dialog";
import {openPath, openUrl} from '@tauri-apps/plugin-opener';
import {openPath, openUrl} from "@tauri-apps/plugin-opener";
import "@xterm/xterm/css/xterm.css";
import {Terminal} from "@xterm/xterm";
import { FitAddon } from '@xterm/addon-fit';
import { FitAddon } from "@xterm/addon-fit";
import { listen } from "@tauri-apps/api/event";
function setLoader(state: boolean) {
@@ -97,7 +97,7 @@ const registerTerminal = async (terminalElement: HTMLElement) => {
}
window.requestAnimationFrame(readFromPty);
}
};
$(async () => {