lua-users home
lua-l archive

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


> I thought that control-C would end a function running in the interpreter and return me to the interpreter's command line

It does:

      % lua
      Lua 5.2.2  Copyright (C) 1994-2013 Lua.org, PUC-Rio
      > while true do end
      ^Cinterrupted!
      stack traceback:
	      stdin:1: in main chunk
	      [C]: in ?
      > 

Just don't press it twice in a row.