This is probably really simple but I have never come across it before. I am writing a transfer app and want to log progress back to the terminal. What I want to have is basically "Transfer: 50 of 600231". But I dont want to have a new line printed each time, just update the previous one. I know this is possible as Maven does this, when deploying and downloading. I had a look through the source but it is too vast to find where it is.
Is it possible to do this with some sort of Printer or are there any existing libs for doing this?