manrajgrover / halo

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

Overwriting Spinners #135

Open CoziestYew804 opened 4 years ago

CoziestYew804 commented 4 years ago

Description

Basically I have multiple threads and for each thread I defined an instance of halo spinner , but when running the program the halo status just overwrites constantly between each thread until success or failure. I'd like it to print a new line of halo spinner text for each thread , and update only that line till success or failure

System settings

manrajgrover commented 4 years ago

Currently, the code is written for synchronous operations and renders for one line. Looks like you wish to render multiple spinners in parallel. This is a feature request. Would you like to work on it?

CoziestYew804 commented 4 years ago

I've tried to modify the code adding curses but it doesn't work. But that's not an issue I'll try to figure out a solution thanks !

adamtheturtle commented 4 years ago

This is a feature that I would like but currently cannot work on. If someone else wishes to, perhaps looking at https://github.com/docker/compose/blob/53d00f76777d111c192b0674eb89f2073da73cf0/compose/parallel.py would be useful.