In my lua program, i want to stop and ask user for confirmation before proceeding with an operation. I'm not sure how to stop and wait for user input, how can it be done?
Take a look at the io
library, which by default has standard-input as the default input file: