Colors in logs

This commit is contained in:
2026-01-03 13:06:16 +01:00
parent 5e84c05bc7
commit 7e5289ae22
4 changed files with 138 additions and 2 deletions
+4 -2
View File
@@ -10,6 +10,7 @@ import { cn } from "@/lib/utils";
import { Log } from "@/lib/types";
import { getAllContainerLogs } from "@/lib/dockship/docker";
import { useAsyncInterval } from "@/hooks/use-async";
import { AnsiText } from "@/components/ansi/Ansi";
export default function LogsPage() {
const [isPaused, setIsPaused] = useState(false);
@@ -182,9 +183,10 @@ export default function LogsPage() {
</span>
{/* Message */}
<span className="text-foreground wrap-break-words">
{/* <span className="text-foreground wrap-break-words">
{log.message}
</span>
</span> */}
<AnsiText text={log.message} />
</div>
))}
</div>