From 6b56a31afc1c8c23fe80124a51ea18cf37fe6ba9 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sun, 14 Jul 2024 18:48:29 +0100 Subject: [PATCH] Reduced the maximum line length for the installation progress output to 10 characters. --- aider/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index 929d8b5fa..7b6246a55 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -214,12 +214,12 @@ def run_install(cmd): char = process.stdout.read(1) if not char: break - + current_line += char char_count += 1 output.append(char) - if char == '\n' or char_count >= 100: + if char == '\n' or char_count >= 10: print(f" Installing... {next(spinner)}", end="\r", flush=True) char_count = 0 current_line = ""