From 1e3057d0d6d2c94da18e3db22c59fbeb3b5dec97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BD=AD=E6=98=9F=E6=9D=B0?= <1198425718@qq.com> Date: Wed, 8 Apr 2026 14:44:19 +0800 Subject: [PATCH] fix(cli): remove default green style from Enabled column in tables The Enabled column in channels status and plugins list commands had a default green style that overrode the dim markup for disabled items. This caused no values to appear green instead of dimmed. Remove the default style to let cell-level markup control the display correctly. --- nanobot/cli/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py index 7c4d31f3e..5ce8b7937 100644 --- a/nanobot/cli/commands.py +++ b/nanobot/cli/commands.py @@ -1119,7 +1119,7 @@ def channels_status( table = Table(title="Channel Status") table.add_column("Channel", style="cyan") - table.add_column("Enabled", style="green") + table.add_column("Enabled") for name, cls in sorted(discover_all().items()): section = getattr(config.channels, name, None) @@ -1254,7 +1254,7 @@ def plugins_list(): table = Table(title="Channel Plugins") table.add_column("Name", style="cyan") table.add_column("Source", style="magenta") - table.add_column("Enabled", style="green") + table.add_column("Enabled") for name in sorted(all_channels): cls = all_channels[name]