From 0518e14ac4b1da9ffa44c2c1de3422186350f0bd Mon Sep 17 00:00:00 2001 From: tunaflsh Date: Tue, 22 Aug 2023 00:35:19 +0200 Subject: [PATCH] Reflect the use case mentioned in https://github.com/Delgan/loguru/pull/935#issuecomment-1687129469 --- loguru/_colorama.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/loguru/_colorama.py b/loguru/_colorama.py index 6454717b..3e211447 100644 --- a/loguru/_colorama.py +++ b/loguru/_colorama.py @@ -62,4 +62,4 @@ def should_wrap(stream): def wrap(stream): from colorama import AnsiToWin32 - return AnsiToWin32(stream, convert=True, strip=False, autoreset=False).stream + return AnsiToWin32(stream, convert=True, strip=True, autoreset=False).stream