Enable Rich markup in operation log output

Fixes raw [red]...[/red] tags showing instead of colored text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
shuki
2026-03-06 01:25:24 +02:00
parent 4fb6d45c1a
commit 52912bfab7

View File

@@ -15,7 +15,7 @@ class OperationLog(ModalScreen[None]):
def compose(self) -> ComposeResult:
with Vertical(id="op-log"):
yield Static(self._title, id="ol-title")
yield RichLog(id="ol-log", wrap=True, highlight=True)
yield RichLog(id="ol-log", wrap=True, highlight=True, markup=True)
yield Button("Close", variant="primary", id="ol-close")
def on_button_pressed(self, event: Button.Pressed) -> None: