Original Post
How can I get printf to erase the last character? I tried writing a program in redhat that did the following but it wouldn''t work.
I wanted it to print out:
-\/ giving it the effect of a twirling little batone (if you will). But for some reason it just stayed on one character forever. I even tried adding in a sleep sequence to see if that was the problem. No can do!
Does anyone have any suggestions or ideas on how I can achieve this simple console effect?