From b236e0c801b555c17ca8844107cb78737d37a234 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 8 May 2025 17:08:07 -0700 Subject: [PATCH] style: Improve spinner display order and output --- aider/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index aff5cef86..61e71877e 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -301,7 +301,7 @@ class Spinner: if not self.is_tty: return False try: - sys.stdout.write("≡\b─\b") + sys.stdout.write("≡\b─\b \b") sys.stdout.flush() return True except UnicodeEncodeError: @@ -329,7 +329,7 @@ class Spinner: self.last_update = now frame = self._next_frame() - sys.stdout.write(f"\r{self.text} {frame}") + sys.stdout.write(f"\r{frame} {self.text}") # Backspace cursor to the scanner character pos_in_content = frame.find(self.scan_char) - 1 # exclude '['