Reduced the maximum line length for the installation progress output to 10 characters.

This commit is contained in:
Paul Gauthier 2024-07-14 18:48:29 +01:00 committed by Paul Gauthier (aider)
parent 2affb111ad
commit 6b56a31afc

View file

@ -219,7 +219,7 @@ def run_install(cmd):
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 = ""