Skip to content

Commit fbbb484

Browse files
committed
Let rich autodetect if Console support colors
1 parent a36349a commit fbbb484

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

easybuild/tools/build_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def print_msg(msg, *args, **kwargs):
339339
from rich.markup import escape
340340
from rich.console import Console
341341

342-
console = Console(force_terminal=sys.stdout.isatty())
342+
console = Console()
343343
with console.capture() as capture:
344344
console.print(escape(msg), end="")
345345

0 commit comments

Comments
 (0)