Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/multi-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ module.exports = class MultiBar extends _EventEmitter{
this.bars.splice(index, 1);

// force update
this.update();
this.update(true);

// clear bottom
this.terminal.newline();
Expand All @@ -124,7 +124,7 @@ module.exports = class MultiBar extends _EventEmitter{
}

// internal update routine
update(){
update(forceRendering=false){
// stop timer
if (this.timer){
clearTimeout(this.timer);
Expand Down Expand Up @@ -158,7 +158,7 @@ module.exports = class MultiBar extends _EventEmitter{
}

// render
this.bars[i].render();
this.bars[i].render(forceRendering);
}

// trigger event
Expand Down