in reply to Re: Re: Clearing / rewriting a line in the console (windows)
in thread Clearing / rewriting a line in the console (windows)

When run nothing happens for 9 seconds and then 10 is printed, but nothing else
You need to turn off output buffering; in its simplest form, adding $|=1 should do the trick.

Dave.