enquirer: esc is fine, but after first prompt SIGINT will be ignore; onRawSIGINT keeps process running -> switch to inquirer
This commit is contained in:
parent
97ef14f514
commit
6aea18836d
3 changed files with 35 additions and 8 deletions
|
|
@ -13,3 +13,8 @@ await enquirer.prompt({
|
|||
name: 'username',
|
||||
message: 'What is your username?',
|
||||
});
|
||||
await enquirer.prompt({
|
||||
type: 'input',
|
||||
name: 'username',
|
||||
message: 'What is your username 2?',
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue