Loading indicator
andreiborisov opened this issue · 8 comments
andreiborisov commented
Would it be possible to print some sort of loading indicator instead of the previous prompt before printing a new one?
acomagu commented
andreiborisov commented
Yes🙌🏻
andreiborisov commented
It would be even cooler to have some simple animation, but I assume it's a nightmare to implement if even possible.
acomagu commented
Yes I guess implementing animation will be hard because extra processes must be spawned. But I may try because I think it's cool feature also.
But for now, I'll implement the non-animated loading indicator. Thank you for good suggestion!
andreiborisov commented
Thank you for an awesome tool you made🙏
andreiborisov commented
Do you mind making the loading indicator string customizable via a variable?
acomagu commented
Yeah, I'll make it customizable by defining a function.
function fish_right_prompt_loading_indicator
echo (set_color brblack)' … '(set_color normal)
end