My program (which happens to be in Perl, though I don\'t think this question is Perl-specific) outputs status messages at one point in the program of the form Progress: x/
Progress: x/
You can also use the ANSI escape codes to directly control the cursor. Or you can use Term::ReadKey to do the same thing.