halo
halo copied to clipboard
feat: WIP allow text to be dynamic
Description of new feature, or changes
Allow text to be dynamic by providing a function like so.
with Halo(text=lambda: f'date {datetime.datetime.now()}'):
time.sleep(100)
Checklist
- [x] 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
closed #167