http://qs1969.pair.com?node_id=44990


in reply to File copy progress.

I'm not sure if this will work under Windows, but under Unix you can use \r instead of \n to return the cursor to the beginning of the line again. This makes percentage status reports "nicer" by keeping them on the same line. You just see the number go up. When you're done, print a \n.