fix: auto-detect Console width

Signed-off-by: Doug Edgar <dedgar@redhat.com>
This commit is contained in:
Doug Edgar 2025-09-03 17:05:55 -07:00
parent 02f6e0f531
commit 93e9dfdc7d

View file

@ -121,7 +121,7 @@ def strip_rich_markup(text):
class CustomRichHandler(RichHandler): class CustomRichHandler(RichHandler):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
kwargs["console"] = Console(width=150) kwargs["console"] = Console()
super().__init__(*args, **kwargs) super().__init__(*args, **kwargs)
def emit(self, record): def emit(self, record):