drawHorizonalLine() { this.log(kleur.grey("├" + r("─", this.opts.width - 2) + "┤")); }
drawGauge(gstart, gstop) { const gw = this.opts.gaugeWidth; const p1 = Math.floor(gw * gstart / 100); const p2 = Math.max(Math.floor(gw * gstop / 100) - p1, 1); const p3 = Math.max(gw - (p1 + p2), 0); return [ kleur.grey("["), kleur.grey(r(".", p1)), r("■", p2), kleur.grey(r(".", p3)), kleur.grey("]") ].join(""); }
drawTableBottom() { this.log(kleur.grey("└" + r("─", this.opts.width - 2) + "┘")); }
drawTableTop() { this.log(kleur.grey("┌" + r("─", this.opts.width - 2) + "┐")); }