fixed an incrementor bug

This commit is contained in:
2024-05-15 09:33:41 -07:00
parent 4db3a17f48
commit 1ed719ce9f
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ export class LoadingBar {
}
}
increment(amt) {
increment(amt = 1) {
cursorTo(process.stdout, this.cursor);
for (let i = 0; i < amt; i++) process.stdout.write("\u2588");
this.cursor += amt;