From 789535cb855412fbe16200ecc0ae9a12a4dcc807 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 1 Nov 2024 08:12:11 -0700 Subject: [PATCH] feat: disable spinner animation when stdout is not a tty --- aider/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/utils.py b/aider/utils.py index 2d533896d..f6d13239f 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -266,7 +266,7 @@ def run_install(cmd): return False, output - +#ai don't display the spinner if stdout isn't a tty! class Spinner: spinner_chars = itertools.cycle(["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"])