pi-zentui 0.20.0 → 0.20.1
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.
|
@@ -7,6 +7,7 @@ import type {
|
|
|
7
7
|
WorkingLineTextAnimation,
|
|
8
8
|
ZentuiConfig,
|
|
9
9
|
} from "./config";
|
|
10
|
+
import { formatCount } from "./format";
|
|
10
11
|
import {
|
|
11
12
|
isSafeSgrStylePrefix,
|
|
12
13
|
isSupportedColorSpec,
|
|
@@ -561,7 +562,7 @@ export function formatWorkingLineTokens(
|
|
|
561
562
|
) {
|
|
562
563
|
return undefined;
|
|
563
564
|
}
|
|
564
|
-
return `↑${tokens.input} ↓${tokens.output}`;
|
|
565
|
+
return `↑${formatCount(tokens.input)} ↓${formatCount(tokens.output)}`;
|
|
565
566
|
}
|
|
566
567
|
|
|
567
568
|
function truncateWithEllipsis(value: string, capacity: number): string {
|