I created a command line tool which does some long actions, and I want to notify the user through print statements, like:
"10% Done"
"20% Done"
on what percentage of the operation is done. If I use println, each progress will be printed into a new line (obviously), but is there a way in swift, that I can replace the last printed text with a new one, so on the console you can read only the actual percentage, not the actual and the ones that printed before?