@hackwaly/task 0.2.3 → 0.2.4
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.
- package/package.json +1 -1
- package/src/run.ts +1 -1
package/package.json
CHANGED
package/src/run.ts
CHANGED
|
@@ -18,7 +18,7 @@ export async function runCommand(
|
|
|
18
18
|
const lastCR = line.lastIndexOf("\r");
|
|
19
19
|
const line2 = lastCR >= 0 ? line.substring(lastCR + 1, line.length) : line;
|
|
20
20
|
const line3 = line2.replace(/\x1bc|\x1b\[2J(?:\x1b\[H)?/g, "");
|
|
21
|
-
yield
|
|
21
|
+
yield `\r${name} | ${line3}`;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
process.stdout.write(`▪▪▪▪ ${styles.bold.open}${name}${styles.bold.close}\n`);
|