See these threads on how to read a char without hitting return: http://lua-users.org/lists/lua-l/2006-06/msg00314.html http://lua-users.org/lists/lua-l/2010-12/msg00981.html