0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-12 15:50:42 -05:00

Update ProgressWriter.ts

idk what I'm doing but ref said this is ok to direct push so screw you drakia Ima do it
This commit is contained in:
waffle-lord 2024-12-22 13:13:25 -05:00 committed by GitHub
parent 30d620d346
commit 7995a6f0de
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ export class ProgressWriter {
const barFill = this.barFillChar.repeat(filledChars);
const barEmptySpace = this.barEmptyChar.repeat(emptyChars);
const progressBar = `-> ${this.count} / ${this.total} [${barFill}${barEmptySpace}] ${percent}% `;
const progressBar = `-> ${this.count} / ${this.total} ${barFill}${barEmptySpace} ${percent}% `;
readline.cursorTo(process.stdout, 0, null);
process.stdout.write(progressBar);