fix: color each line individually

This commit is contained in:
2026-03-31 15:36:12 +07:00 Unverified
parent 06b21d0051
commit d1479c7cfb
+1 -1
View File
@@ -45,7 +45,7 @@ export function createLogger(label?: string) {
"", "",
) )
.split("\n") .split("\n")
.map((l, i) => (i ? `${" ".repeat(7)} | ${l}` : l)) .map((l, i) => styleText(col, i ? `${" ".repeat(7)} | ${l}` : l))
.join("\n")}\n`, .join("\n")}\n`,
); );
console.write(normalized); console.write(normalized);