How to do simple graphics for command line?

I wonder how could I go for creating simple graphics for the command line? Something like the running progress bars in package managers



or a spinning cursor or even updating the same line with a text like
“Uploading huge_file.img 11% of 10GB completed”.

Is there any library or reading material for such kind of things?

Edit: I am not talking about full blown ncurses like graphics. I am talking about simple ASCII art like graphics.

2 Likes

https://github.com/henrik/progress_bar

or https://github.com/blackode/elixir_cli_spinners

5 Likes

Amazing. Exactly what I needed and more.

2 Likes