lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Is there a way to gather single keystrokes from the user in lua?

or perhaps a way to see if any input is waiting without blocking on the request?

I want to write a game, but I need the computer to keep working while the user
decides what key top press.