Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added ability to indent spinners #153

Closed
wants to merge 2 commits into from

Conversation

techieji
Copy link

@techieji techieji commented Sep 19, 2020

#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

  • Your branch is up-to-date with the base branch
  • You've included at least one test if this is a new feature
  • All tests are passing

Related Issues and Discussions

Fixes #146

@techieji techieji closed this Sep 19, 2020
@techieji techieji deleted the add-indent branch September 19, 2020 02:31
@techieji techieji restored the add-indent branch September 19, 2020 02:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion: allow spinners to be indented
1 participant