title: In Scala or Java, how to print a line to console replacing its previous content instead of appending?
body: <p>A Scala application does some data processing. It would be nice to show processing progress in percents overwriting previous value on change rather than appending a new value to what's already displayed. How to acheive this effect? I use Scala 2.8 on Linux.</p>