@fractal-solutions/qflow 1.0.34 → 1.0.35
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/dist/nodes/user.js +3 -1
- package/package.json +1 -1
package/dist/nodes/user.js
CHANGED
|
@@ -17,7 +17,9 @@ export class UserInputNode extends AsyncNode {
|
|
|
17
17
|
output: process.stdout
|
|
18
18
|
});
|
|
19
19
|
return new Promise((resolve) => {
|
|
20
|
-
|
|
20
|
+
// ANSI escape codes for yellow text
|
|
21
|
+
const yellowPrompt = `\x1b[33m${prompt}\x1b[0m`;
|
|
22
|
+
rl.question(yellowPrompt, (answer) => {
|
|
21
23
|
rl.close();
|
|
22
24
|
resolve(answer);
|
|
23
25
|
});
|
package/package.json
CHANGED