Again I've searched through faq's, Google and forum but haven't found anything that helped.
What I want to do is overwrite a textline on the same line on screen. So instead of writing on a new line everytime, I want to refresh the existing line. For example I'd like to make a small "reading data indicator" like a "loading indicator"
Here's the output as it is now:
But I'd like to have this output on the same line so it looks like a loading animation.Code:. .. ... . .. ...
In other words, how can I shift back to the beginning of a line (like the home key does) and overwrite the on-screen text?
I've tried with backspace '\b' but that doesn't give the right result (dots still shifting to the right or not 'animating' at all).
Hope it's clear, very difficult to explain :S. Thanks in advance for any advice