From 52ae22bcf848fba98dc562950d33979ea1360022 Mon Sep 17 00:00:00 2001 From: "Paul Gauthier (aider)" Date: Thu, 8 May 2025 19:28:30 -0700 Subject: [PATCH] Refactor: Update spinner frames definition --- aider/utils.py | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/aider/utils.py b/aider/utils.py index 613da3cd8..670252d44 100644 --- a/aider/utils.py +++ b/aider/utils.py @@ -269,18 +269,20 @@ class Spinner: # Pre-render the animation frames using pure ASCII so they will # always display, even on very limited terminals. - ascii_frames = """ #= | - =# | - =# | - =# | - =# | - =# | - =# | - #= | - #= | - #= | - #= | - #= |""".splitlines() + ascii_frames = [ + ' #= | ', + ' =# | ', + ' =# | ', + ' =# | ', + ' =# | ', + ' =# | ', + ' =# | ', + ' #= | ', + ' #= | ', + ' #= | ', + ' #= | ', + ' #= | ', + ] self.unicode_palette = "≋≣" xlate_from, xlate_to = ("=#", self.unicode_palette)