Feat: fix windows build script

This commit is contained in:
2026-03-18 13:30:41 +01:00
parent 260bc9dbdf
commit 144c2487c2

View File

@@ -23,6 +23,7 @@ from dataclasses import dataclass, field
from pathlib import Path from pathlib import Path
from rich.console import Console, Group from rich.console import Console, Group
from rich.markup import escape
from rich.live import Live from rich.live import Live
from rich.panel import Panel from rich.panel import Panel
from rich.progress_bar import ProgressBar from rich.progress_bar import ProgressBar
@@ -647,7 +648,7 @@ def _build_display(
if recent: if recent:
lines: list[str] = [] lines: list[str] = []
for alias, line in recent: for alias, line in recent:
lines.append(f"[dim]{alias}[/] {line.rstrip()}") lines.append(f"[dim]{alias}[/] {escape(line.rstrip())}")
log_text = Text("\n") + Text.from_markup("\n".join(lines)) log_text = Text("\n") + Text.from_markup("\n".join(lines))
else: else:
log_text = Text("\nwaiting for output...", style="dim") log_text = Text("\nwaiting for output...", style="dim")