diff --git a/mcquack.py b/mcquack.py index b2711b2..cfe6c94 100755 --- a/mcquack.py +++ b/mcquack.py @@ -265,7 +265,7 @@ def list_agents() -> None: return console = Console() - table = Table(show_header=True, header_style="bold cyan") + table = Table(show_header=True, header_style="bold cyan", show_lines=True) table.add_column("Label", style="green", no_wrap=False) table.add_column("Command", style="yellow", no_wrap=False, overflow="fold") table.add_column("Details", style="dim", no_wrap=False, overflow="fold") @@ -299,7 +299,9 @@ def list_agents() -> None: calendar_str = ', '.join(f"{k}={v}" for k, v in calendar.items()) details.append(f"StartCalendarInterval: {calendar_str}") - details_str = '\n'.join(details) if details else "-" + # Join details with a short horizontal separator + separator = "─" * 8 + details_str = f'\n{separator}\n'.join(details) if details else "-" table.add_row(label, command, details_str) except Exception as e: