From b76434f5e09b62c698309a9c2d15d657e5a64a1a Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 5 Aug 2024 17:32:06 -0300 Subject: [PATCH] fix: Add space before spinner text --- aider/io.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aider/io.py b/aider/io.py index c1c783dea..c31111ee3 100644 --- a/aider/io.py +++ b/aider/io.py @@ -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):