Refactor: Update spinner frames definition

This commit is contained in:
Paul Gauthier (aider) 2025-05-08 19:28:30 -07:00
parent 4fb2d78011
commit 52ae22bcf8

View file

@ -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)