mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-12-14 16:16:21 +00:00
Update AppImage
This commit is contained in:
@@ -163,4 +163,3 @@
|
|||||||
.xterm-rows {
|
.xterm-rows {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ import {
|
|||||||
import { Button } from "@/components/ui/button"
|
import { Button } from "@/components/ui/button"
|
||||||
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from "@/components/ui/dialog"
|
import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogDescription } from "@/components/ui/dialog"
|
||||||
import { Input } from "@/components/ui/input"
|
import { Input } from "@/components/ui/input"
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"
|
||||||
import type { CheatSheetResult } from "@/lib/cheat-sheet-result" // Declare CheatSheetResult here
|
import type { CheatSheetResult } from "@/lib/cheat-sheet-result" // Declare CheatSheetResult here
|
||||||
|
|
||||||
type TerminalPanelProps = {
|
type TerminalPanelProps = {
|
||||||
@@ -665,15 +665,19 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
</TabsTrigger>
|
</TabsTrigger>
|
||||||
))}
|
))}
|
||||||
</TabsList>
|
</TabsList>
|
||||||
{terminals.map((terminal) => (
|
<div className="flex-1 relative">
|
||||||
<TabsContent key={terminal.id} value={terminal.id} className="flex-1 m-0 p-0">
|
{terminals.map((terminal) => (
|
||||||
<div
|
<div
|
||||||
ref={(el) => (containerRefs.current[terminal.id] = el)}
|
key={terminal.id}
|
||||||
className="w-full h-full bg-black overflow-hidden"
|
className={`absolute inset-0 ${activeTerminalId === terminal.id ? "block" : "hidden"}`}
|
||||||
style={{ height: "calc(100vh - 24rem)" }}
|
>
|
||||||
/>
|
<div
|
||||||
</TabsContent>
|
ref={(el) => (containerRefs.current[terminal.id] = el)}
|
||||||
))}
|
className="w-full h-full bg-black overflow-hidden"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
))}
|
||||||
|
</div>
|
||||||
</Tabs>
|
</Tabs>
|
||||||
) : (
|
) : (
|
||||||
<div className={`${getLayoutClass()} h-full gap-0.5 bg-zinc-800 p-0.5 w-full overflow-hidden`}>
|
<div className={`${getLayoutClass()} h-full gap-0.5 bg-zinc-800 p-0.5 w-full overflow-hidden`}>
|
||||||
@@ -681,7 +685,7 @@ export const TerminalPanel: React.FC<TerminalPanelProps> = ({ websocketUrl, onCl
|
|||||||
<div
|
<div
|
||||||
key={terminal.id}
|
key={terminal.id}
|
||||||
className={`relative bg-zinc-900 overflow-hidden flex flex-col min-h-0 w-full ${
|
className={`relative bg-zinc-900 overflow-hidden flex flex-col min-h-0 w-full ${
|
||||||
activeTerminalId === terminal.id ? "ring-2 ring-blue-500" : ""
|
terminals.length > 1 && activeTerminalId === terminal.id ? "ring-2 ring-blue-500" : ""
|
||||||
}`}
|
}`}
|
||||||
>
|
>
|
||||||
<div className="flex-shrink-0 flex items-center justify-between px-2 py-1 bg-zinc-900/95 border-b border-zinc-800">
|
<div className="flex-shrink-0 flex items-center justify-between px-2 py-1 bg-zinc-900/95 border-b border-zinc-800">
|
||||||
|
|||||||
Reference in New Issue
Block a user