lua-users home
lua-l archive

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


On May 14, 2013, at 11:20 PM, Jose Torre-Bueno <jtorrebueno@cox.net> wrote:

> But this code produces nothing:

Try io.flush()

E.g.:

% lua -
while true do
  local t = os.time()
  io.write(t, '\r'):flush()
  while os.time() == t do end
end
^D