I'm trying to write a C program which can do the thing that many binaries such as package managers do in execution time. They change and add to the already outputted texts in terminal and it makes it fun. I want to know how can I do this, not only in C, maybe in bash or python. For example:
program 23 MiB 981 KiB/s 00:00 [######################] 100%
I mean a thing like this, the # grows up in downloading process.
Thanks for your cooperation.