chelnak / ysmrr

YSMRR is a package that provides simple multi-line compatible spinners for Go applications.
MIT License
71 stars 6 forks source link

Better charmap selection #25

Closed chelnak closed 1 year ago

chelnak commented 1 year ago

Prior to this PR it was possible to mutate the charmaps stored in the charmap package because they were exported vars.

This commit changes the behaviour so that slices are retrieved by a lookup method.