From 4580ab21a7c2902b89329406c48aec5900477556 Mon Sep 17 00:00:00 2001 From: Joe Kaufeld Date: Mon, 15 Aug 2022 13:29:44 -0400 Subject: [PATCH] make print default to Rich version --- src/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cli.py b/src/cli.py index 9de98c2..b84e4be 100644 --- a/src/cli.py +++ b/src/cli.py @@ -7,7 +7,7 @@ import uuid import click import httpx from rich import pretty -from rich import print as rprint +from rich import print # yes, deliberately shadow `print` from shiv.bootstrap import current_zipfile import src @@ -29,7 +29,7 @@ def main(ctx): # https://github.com/Textualize/rich/discussions/2462 if "crop" in kwargs: del kwargs["crop"] - rprint(*args, **kwargs) + print(*args, **kwargs) banner = random.choice(BANNERS)