enquirer: esc is fine, but after first prompt SIGINT will be ignore; onRawSIGINT keeps process running -> switch to inquirer

This commit is contained in:
Ralf Vogler 2025-05-14 00:30:39 +02:00
parent 97ef14f514
commit 6aea18836d
3 changed files with 35 additions and 8 deletions

View file

@ -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?',
});