manrajgrover / halo

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

Added optional stripping to allow whitespacing #114

Open UltraWelfare opened 5 years ago

UltraWelfare commented 5 years ago

Description of new feature, or changes

Added an optional strip parameter to the constructor of the Halo object to address the issue #113 . By making this optional parameter False at the constructor it will no longer strip text, allowing whitespace when start function is being called with a text parameter.

Checklist

Related Issues and Discussions

FIxes #113

coveralls commented 5 years ago

Pull Request Test Coverage Report for Build 347


Changes Missing Coverage Covered Lines Changed/Added Lines %
halo/halo.py 9 10 90.0%
<!-- Total: 9 10 90.0% -->
Totals Coverage Status
Change from base Build 346: -0.4%
Covered Lines: 291
Relevant Lines: 316

💛 - Coveralls
manrajgrover commented 5 years ago

@UltraWelfare Apologies for late reply. This will need test cases before getting reviewed! :)

Please let me know if you need any assistance.