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

ProgressWriter: Updates default characters

This commit is contained in:
Refringe 2024-12-19 15:46:43 -05:00
parent 5bd68b6227
commit 4af5f2507a
Signed by: Refringe
SSH Key Fingerprint: SHA256:t865XsQpfTeqPRBMN2G6+N8wlDjkgUCZF3WGW6O9N/k

View File

@ -8,7 +8,7 @@ export class ProgressWriter {
private barEmptyChar: string;
private maxBarLength: number;
constructor(total: number, maxBarLength = 25, barFillChar = "\u25A0", barEmptyChar = " ") {
constructor(total: number, maxBarLength = 25, barFillChar = "\u2593", barEmptyChar = "\u2591") {
if (total <= 0) {
throw new Error("Total must be a positive number.");
}