mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
fix: terminal paste visibility
This commit is contained in:
@@ -32,10 +32,14 @@ export const Terminal: React.FC<Props> = ({ id, serverId }) => {
|
|||||||
lineHeight: 1.4,
|
lineHeight: 1.4,
|
||||||
convertEol: true,
|
convertEol: true,
|
||||||
theme: {
|
theme: {
|
||||||
cursor: resolvedTheme === "light" ? "#000000" : "transparent",
|
cursor: resolvedTheme === "light" ? "#000000" : "#FFFFFF",
|
||||||
background: "rgba(0, 0, 0, 0)",
|
background: resolvedTheme === "light" ? "#FFFFFF" : "rgba(0, 0, 0, 0.9)",
|
||||||
foreground: "currentColor",
|
foreground: resolvedTheme === "light" ? "#000000" : "#FFFFFF",
|
||||||
|
selectionForeground: resolvedTheme === "light" ? "#000000" : "#FFFFFF",
|
||||||
},
|
},
|
||||||
|
allowTransparency: true,
|
||||||
|
screenReaderMode: true,
|
||||||
|
scrollback: 1000,
|
||||||
});
|
});
|
||||||
const addonFit = new FitAddon();
|
const addonFit = new FitAddon();
|
||||||
|
|
||||||
@@ -68,7 +72,7 @@ export const Terminal: React.FC<Props> = ({ id, serverId }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
<div className="w-full h-full bg-transparent border rounded-lg p-2 ">
|
<div className="w-full h-full bg-transparent border rounded-lg p-2">
|
||||||
<div id={id} ref={termRef} className="rounded-xl" />
|
<div id={id} ref={termRef} className="rounded-xl" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user