diff --git a/jrnl/output.py b/jrnl/output.py index 80bbcc5b..48487d40 100644 --- a/jrnl/output.py +++ b/jrnl/output.py @@ -136,7 +136,7 @@ def format_msg_text(msg: Message) -> Text: def wrap_with_ansi_colors(text: str, width: int) -> str: richtext = Text.from_ansi(text, no_wrap=False, tab_size=None) - console = Console(width=width, no_color=False) + console = Console(width=width, force_terminal=True) with console.capture() as capture: console.print(richtext, sep="", end="") return capture.get()