mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +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):
|
def __init__(self, io, text):
|
||||||
self.io = io
|
self.io = io
|
||||||
self.text = text
|
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):
|
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):
|
def end(self):
|
||||||
print(f"{self.text} Done!")
|
print(" " * (len(self.text) + 3))
|
||||||
|
|
||||||
|
|
||||||
class AutoCompleter(Completer):
|
class AutoCompleter(Completer):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue