bitbake tool
Python HTML JavaScript Other
Latest commit 326d18d Sep 23, 2016 Paul Eggleton committed with rpurdie knotty: ensure progress bar output is accounted for in display
When calculating how many lines we'd printed we weren't properly taking
the progress bars into account, with the result that sometimes if the
last line printed on the terminal wrapped to the next line (which is
possible) we backed up less lines than we should have.

Additionally, we should always print a newline after updating the
progress bar - there's no need to check if there wasn't output (there
always will be courtesy of our overridden _need_update()) and we now
allow the line to wrap so we don't need to check the other condition

Hopefully this will fix [YOCTO #10046].

Signed-off-by: Paul Eggleton <>
Signed-off-by: Richard Purdie <>