manrajgrover / halo

💫 Beautiful spinners for terminal, IPython and Jupyter
MIT License
2.86k stars 148 forks source link

Added ability to indent spinners #153

Closed techieji closed 3 years ago

techieji commented 3 years ago

146: Added ability to indent spinners

Description of new feature, or changes

Halo has a new argument, indent, which takes a string and appends it to the front of the displayed text, acting like an indent. For example, Halo(text="foo", spinner="dots", indent=" * ") would append " * " to the front of the spinner without the indent. Also, this is my first PR. Please tell me if I'm doing anything wrong

Checklist

Related Issues and Discussions

Fixes #146