heapwolf/prompt-sync

prompt-sync takes a very long time(won't even accept input) to accept inputs

Opened this issue · 1 comments

I Have Been trying to run a simple program

const prompt = require('prompt-sync')({sigint: true});

let me = prompt('Name :');
console.log(me);

Expected output
Name : [input]

But it just gets stuck and hangs (have a glitch) at Name : and not accepting any input

Any Solution to this?

I am using Code Runner( an Extension to Log Native Js code out in the console);