On Friday, January 31, 2003, at 10:51 AM, Martin Redington wrote:
"\r" doesn't clear the line, it just moves the cursor back to the beginning of the current line. If you want to clear the line, you just output more characters (possibly spaces, possibly whatever you want to get seen there).
IIRC, the "\r" character should clear the line for you. Let me know if this doesn't work, as I've definitely got code that does this somewhere ...
-Ken