C-Otto / BitBook

BitBook helps you organize your bitcoin addresses and transactions.
https://bitbook.c-otto.de
MIT License
43 stars 6 forks source link

Feature Request: add progress bars, write status directly to terminal #100

Open C-Otto opened 3 years ago

C-Otto commented 3 years ago

Is your feature request related to a problem? Please describe. For long running tasks, e.g. requesting transactions for many addresses, the progress is only shown using regular QueueStatus log messages. This isn't as nice as it could be.

Describe the solution you'd like I'd like to see a progress bar that is updated immediately instead of regular log messages.

Additional context

String CUU = "\u001B[A"; // cursor up, overwrite line
terminal.writer().println(CUU + "\r" + "x");
terminal.flush();

https://medium.com/agency04/developing-cli-application-with-spring-shell-part-3-b4c247fdf558