diff --git a/AppImage/components/script-terminal-modal.tsx b/AppImage/components/script-terminal-modal.tsx index 0c9f648..0f336d4 100644 --- a/AppImage/components/script-terminal-modal.tsx +++ b/AppImage/components/script-terminal-modal.tsx @@ -8,6 +8,7 @@ import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Loader2, Activity, GripHorizontal } from "lucide-react" import { API_PORT } from "../lib/api-config" +import { fetchApi } from "@/lib/api-config" import { useIsMobile } from "@/hooks/use-mobile" interface WebInteraction { diff --git a/AppImage/components/terminal-panel.tsx b/AppImage/components/terminal-panel.tsx index 4123437..c2600b7 100644 --- a/AppImage/components/terminal-panel.tsx +++ b/AppImage/components/terminal-panel.tsx @@ -740,7 +740,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl )} {(isMobile || isTablet) && ( -
+
@@ -761,7 +761,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2.5 text-xs" > TAB @@ -773,7 +773,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-2 text-xs" + className="h-8 px-3 text-xs" > ↑ @@ -785,7 +785,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-2 text-xs" + className="h-8 px-3 text-xs" > ↓ @@ -797,7 +797,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-2 text-xs" + className="h-8 px-3 text-xs" > ← @@ -809,7 +809,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-2 text-xs" + className="h-8 px-3 text-xs" > → @@ -821,7 +821,7 @@ export const TerminalPanel: React.FC = ({ websocketUrl, onCl }} variant="outline" size="sm" - className="h-8 px-3 text-xs" + className="h-8 px-2.5 text-xs" > ↵