lua-users home
lua-l archive

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


On Tue, Mar 2, 2010 at 6:28 AM, Joe Andresen <joe.andresen@gmail.com> wrote:
> hahaha yes.... print is the ultimate "this works" ... and when it doesnt
> work... haha well.. yeah...

We've all been there!  io.stderr:write() does not buffer, however!
It's also possible to redefine print() so it flushes.

Or just the good old io.stdout:setfbuf 'no' , which is part of the Lua
invocation in SciTE within LfW for this very reason