Hello,
I'm using Zend_ProgressBar (ZF 1.9.3) with the Console adapter. It's working
fine, except the $text argument of Zend_ProgressBar#update() is not
appearing anywhere on the screen. Here's my code (simplified):
$pbAdapter = new Zend_ProgressBar_Adapter_Console();
$progressBar = new Zend_ProgressBar($pbAdapter, 0, 10);
for ($i = 0; $i < 10; $i++) {
sleep(1);
$progressBar->update($i, "Iteration: {$i}");
}
$progressBar->finish();
When I run this from the console, the progress bar correctly fills over 10
seconds, but the text "Iteration: #" does not appear anywhere. Is there
something I need to do in order to show the text?
--
Hector