From 0864a7ca76a2f181b6efe24bfd870c7fd186d951 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 8 May 2025 16:00:53 -0700 Subject: [PATCH] refactor: Prune spinner animation frames and char assignments --- aider/utils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index eb99d6e3b..aff5cef86 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -278,18 +278,16 @@ class Spinner: [-----#=] [----#=-] [---#=--] -[---#=--] -[---#=--] [--#=---] [-#=----] """.strip().splitlines() # If unicode is supported, swap the ASCII chars for nicer glyphs. if self._supports_unicode(): - scan_char, _, trail_char = "≡", "=", "─" + scan_char, trail_char = "≡", "─" frames = [f.replace("#", scan_char).replace("-", trail_char) for f in ascii_frames] else: - scan_char, _, _ = "#", "=", "-" + scan_char, _ = "#", "-" frames = ascii_frames # Bounce the scanner back and forth.