mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 01:30:44 -05:00
ProgressWriter: Updates default characters
This commit is contained in:
parent
5bd68b6227
commit
4af5f2507a
@ -8,7 +8,7 @@ export class ProgressWriter {
|
|||||||
private barEmptyChar: string;
|
private barEmptyChar: string;
|
||||||
private maxBarLength: number;
|
private maxBarLength: number;
|
||||||
|
|
||||||
constructor(total: number, maxBarLength = 25, barFillChar = "\u25A0", barEmptyChar = " ") {
|
constructor(total: number, maxBarLength = 25, barFillChar = "\u2593", barEmptyChar = "\u2591") {
|
||||||
if (total <= 0) {
|
if (total <= 0) {
|
||||||
throw new Error("Total must be a positive number.");
|
throw new Error("Total must be a positive number.");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user