Debug output tweak
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user