This commit is contained in:
Paul Gauthier 2025-05-08 19:21:28 -07:00
parent c93c22ec98
commit 4fb2d78011

View file

@ -269,20 +269,18 @@ class Spinner:
# Pre-render the animation frames using pure ASCII so they will # Pre-render the animation frames using pure ASCII so they will
# always display, even on very limited terminals. # always display, even on very limited terminals.
ascii_frames = """ ascii_frames = """ #= |
[#= ] =# |
[=# ] =# |
[ =# ] =# |
[ =# ] =# |
[ =# ] =# |
[ =# ] =# |
[ =#] #= |
[ #=] #= |
[ #= ] #= |
[ #= ] #= |
[ #= ] #= |""".splitlines()
[ #= ]
""".strip().splitlines()
self.unicode_palette = "≋≣" self.unicode_palette = "≋≣"
xlate_from, xlate_to = ("=#", self.unicode_palette) xlate_from, xlate_to = ("=#", self.unicode_palette)