Added a newline upong progress completion - this was accidentally left out causing the second progress bar to overwrite the first
This commit is contained in:
parent
33e31415a1
commit
22ce4a2a00
|
@ -396,6 +396,10 @@ void cb_trans_progress(unsigned char event, char *pkgname, int percent, int howm
|
||||||
}
|
}
|
||||||
printf("] %3d%%\r", percent);
|
printf("] %3d%%\r", percent);
|
||||||
|
|
||||||
|
if(percent == 100) {
|
||||||
|
printf("\n");
|
||||||
|
}
|
||||||
|
|
||||||
FREE(addstr);
|
FREE(addstr);
|
||||||
FREE(upgstr);
|
FREE(upgstr);
|
||||||
FREE(removestr);
|
FREE(removestr);
|
||||||
|
|
Loading…
Reference in New Issue