@flowscripter/dynamic-cli-framework 5.4.6 → 5.4.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -173,7 +173,7 @@ export default class Progress {
|
|
|
173
173
|
bar.units.length +
|
|
174
174
|
15 +
|
|
175
175
|
1 +
|
|
176
|
-
taken.length;
|
|
176
|
+
Bun.stripANSI(taken).length;
|
|
177
177
|
}
|
|
178
178
|
else {
|
|
179
179
|
const remaining = bar.rate === undefined || bar.rate === 0
|
|
@@ -193,7 +193,7 @@ export default class Progress {
|
|
|
193
193
|
bar.units.length +
|
|
194
194
|
19 +
|
|
195
195
|
1 +
|
|
196
|
-
remaining.length;
|
|
196
|
+
Bun.stripANSI(remaining).length;
|
|
197
197
|
}
|
|
198
198
|
let available = consoleWidth - visibleWidth;
|
|
199
199
|
if (available < 0) {
|
package/package.json
CHANGED
|
@@ -241,7 +241,7 @@ export default class Progress {
|
|
|
241
241
|
bar.units.length +
|
|
242
242
|
15 +
|
|
243
243
|
1 +
|
|
244
|
-
taken.length;
|
|
244
|
+
Bun.stripANSI(taken).length;
|
|
245
245
|
} else {
|
|
246
246
|
const remaining =
|
|
247
247
|
bar.rate === undefined || bar.rate === 0
|
|
@@ -270,7 +270,7 @@ export default class Progress {
|
|
|
270
270
|
bar.units.length +
|
|
271
271
|
19 +
|
|
272
272
|
1 +
|
|
273
|
-
remaining.length;
|
|
273
|
+
Bun.stripANSI(remaining).length;
|
|
274
274
|
}
|
|
275
275
|
let available = consoleWidth - visibleWidth;
|
|
276
276
|
if (available < 0) {
|