if (max > 0) sb ++= (100*cur/max).formatted(" %3d%%");
/* Estimated time to completion. */
val eta = model.eta(cur);
if (eta >= 0) {
sb += ' '; sb += '(';
if (max > 0) sb ++= (100*cur/max).formatted(" %3d%%");
/* Estimated time to completion. */
val eta = model.eta(cur);
if (eta >= 0) {
sb += ' '; sb += '(';