Question:
Current behavior:
Desired behavior
Repl link:
code snippet
Can you try this:
You’ll need to use the prompt-sync library.