How to animate the command line?
Posted
by
The.Anti.9
on Stack Overflow
See other posts from Stack Overflow
or by The.Anti.9
Published on 2008-09-13T00:53:10Z
Indexed on
2012/07/04
9:16 UTC
Read the original article
Hit count: 164
command-line
I have always wondered how people update a previous line in a command line. a great example of this is when using the wget command in linux. It creates an ASCII loading bar of sorts that looks like this:
[======> ] 37%
and of course the loading bar moves and the percent changes, But it doesn't make a new line. I cannot figure out how to do this. Can someone point me in the right direction?
© Stack Overflow or respective owner