Updating content on the line. (cli)
| From: | Simon Fredriksson | Date: | Wed, 03 Mar 2004 15:53:03 +0000 |
| Subject: | Updating content on the line. (cli) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-179348@lists.php.net to get a copy of this message | ||
I'm building a download-manager script (like wget), in PHP. Does any of you know how I can update a line in the console? I've tried to echo chr(7) which is the backspace character, but it won't work. This kind of thing is seen in tons of console applications. Like some "please wait" thing that changes from - to \, |, /, and so on (looks like a rotating line).
Ideas?
//Simon