heapwolf / prompt-sync

a synchronous prompt for node.js
MIT License
211 stars 42 forks source link

Set sigint to true by default #33

Open iONinja opened 6 years ago

iONinja commented 6 years ago

Hi there,

I was using this utility, and was caught by surprise by it's behavior in response to a ^C.

I feel that the default response should be what happens traditionally. It's great to have this option, but the default should be what most people probably expect.

Thanks!

davidmarkclements commented 4 years ago

@heapwolf I think I agree - wdyt?

caub commented 2 years ago

No, I think it's fine like currently, Ctrl+C to escape input, Ctrl+D to escape process