mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 08:44:59 +00:00
Reduced the maximum line length for the installation progress output to 10 characters.
This commit is contained in:
parent
2affb111ad
commit
6b56a31afc
1 changed files with 2 additions and 2 deletions
|
@ -214,12 +214,12 @@ def run_install(cmd):
|
||||||
char = process.stdout.read(1)
|
char = process.stdout.read(1)
|
||||||
if not char:
|
if not char:
|
||||||
break
|
break
|
||||||
|
|
||||||
current_line += char
|
current_line += char
|
||||||
char_count += 1
|
char_count += 1
|
||||||
output.append(char)
|
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)
|
print(f" Installing... {next(spinner)}", end="\r", flush=True)
|
||||||
char_count = 0
|
char_count = 0
|
||||||
current_line = ""
|
current_line = ""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue