Debug output tweak

This commit is contained in:
2019-06-12 23:26:54 -07:00
parent 53c520097c
commit 308d3c513a
3 changed files with 37 additions and 32 deletions

View File

@@ -59,11 +59,16 @@ class ProgressBar {
return self::display($message);
}
public static function finish() {
public static function finish($clear = null) {
global $wopt_currstep;
$wopt_currstep++;
self::$done = 0;
return "\nREFRESH\n";
if ($clear) {
return "\nREFRESH\n";
} else {
return "\n".str_repeat("*",99)."\n";
}
}
}