I have simple command line interface with insertion records in DB and now it writes a lot of info to stdout, like this:
...
record 856/1000: 85%
record 857/1000: 85%
record 858/1000: 85%
...
but I want to have 1 dynamic line with updating current string parameters
status |T | C | A | E
---------------------------------------
inserting |1000 | 857 | 85% | 96
How can I achieve that?
ncursesor some higher-level progressbar library like this will do, I think.