This commit is contained in:
Ueli Kunz
2021-03-02 14:05:15 +01:00
parent 28c4883349
commit e6a65e55cb

View File

@@ -9,7 +9,7 @@ async function input(prompt = "") {
return new Promise((resolve, _) => {
rl.setPrompt(prompt)
// show use the question
// show user the question
rl.prompt()
// listen for user answer,
// callback is triggered as soon as user hits enter key