What's the recommended way of flushing output?

My goal is to display a status message on fairly long running task. A 
bytewise examination of a large-ish file consumes some CPU, I would 
like to do something like the spinning wheel, but with |/-\-|

That would probably mean printing a char, then backspacing, yes?

Reply via email to