Remove color from channel fingerprint display

The color codes weren't displaying properly in all terminal
environments. Keep it simple with plain text.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Aaron D. Lee
2026-01-08 00:09:22 -05:00
parent 3858e234da
commit add3951003

View File

@@ -857,10 +857,9 @@ def info(ctx, full):
# Channel # Channel
if channel_fingerprint: if channel_fingerprint:
masked = f"{channel_fingerprint[:4]}••••••••{channel_fingerprint[-4:]}" masked = f"{channel_fingerprint[:4]}••••••••{channel_fingerprint[-4:]}"
colored_masked = click.style(masked, fg='bright_yellow', bold=True) click.echo(f" Channel: {masked}")
click.echo(f" Channel: {colored_masked}", color=True)
else: else:
click.echo(f" Channel: {click.style('public', fg='yellow')}", color=True) click.echo(" Channel: public")
# DCT # DCT
dct_status = "\033[32m✓ enabled\033[0m" if has_dct else "\033[31m✗ disabled\033[0m" dct_status = "\033[32m✓ enabled\033[0m" if has_dct else "\033[31m✗ disabled\033[0m"