From ea4d949799704de2dab8bc349adb920af61e4a11 Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Tue, 13 Jan 2026 11:03:33 -0800 Subject: [PATCH] Enhance list command with visual separators Add row borders and detail item separators to improve readability of the rich table output. Each agent row now displays borders across all columns, and detail items are separated by short horizontal bars. Co-Authored-By: Claude Opus 4.5 --- mcquack.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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: