Lua - get command line input from user?
snippet in lua

Lua - get command line input from user?

user5902

local answer
repeat
   io.write("continue with this operation (y/n)? ")
   io.flush()
   answer=io.read()
until answer=="y" or answer=="n"