dsherret / dax

Cross-platform shell tools for Deno and Node.js inspired by zx.
MIT License
964 stars 33 forks source link

Suggestion: `$.alert` / `$.pause` #189

Open RuiNtD opened 8 months ago

RuiNtD commented 8 months ago

It would be nice if Dax had an equivalent to alert() in Deno (or pause in CMD) to go along with $.confirm and $.prompt. This function would simply wait for the user to press Enter to resolve the Promise. Could also have an option to accept any button press.