p-ranav / indicators

Activity Indicators for Modern C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`apt`-like progress bar

amirmasoudabdol opened this issue · comments

I'm wondering if it's possible to achieve the same progress bar style that's being using in Ubuntu during the installation of the packages, i.e., this. Basically, the progress bar stick to the bottom of the terminal, and doesn't break the output.

That is an excellent idea! I had just always assumed that any console output would corrupt the progress display. I would love to have this in indicators. Any suggestions on how to implement it (and work on windows too)?

That would be indeed great to have. I can suggest giving a look at the implementation in: gabime/spdlog#1030
There is even this small project implementing a derived solution.