mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: Add space before spinner text
This commit is contained in:
parent
44f3ed6433
commit
b76434f5e0
1 changed files with 3 additions and 3 deletions
|
@ -26,13 +26,13 @@ class Spinner:
|
|||
def __init__(self, io, text):
|
||||
self.io = io
|
||||
self.text = text
|
||||
print(f"{self.text} {next(self.io.spinner_chars)}", end="\r", flush=True)
|
||||
print(f" {self.text} {next(self.io.spinner_chars)}", end="\r", flush=True)
|
||||
|
||||
def step(self):
|
||||
print(f"{self.text} {next(self.io.spinner_chars)}", end="\r", flush=True)
|
||||
print(f" {self.text} {next(self.io.spinner_chars)}", end="\r", flush=True)
|
||||
|
||||
def end(self):
|
||||
print(f"{self.text} Done!")
|
||||
print(" " * (len(self.text) + 3))
|
||||
|
||||
|
||||
class AutoCompleter(Completer):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue