[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Display update??
- From: "Adam D. Moss" <adam@...>
- Date: Sat, 01 Nov 2003 12:00:50 +0000
Ron Hudson wrote:
Does Lua cache changes to the screen until enough happens
to require a redraw? Is linux console not keeping up
with my program?
Neither, really. 'print' prints to stdout. stdout is typically
buffered, so actual character output will happen burstily as
the buffer fills up.
You can flush stdout as often as you like though, like any other
file handle. io.flush() is probably what you need.
--Adam
--
Adam D. Moss . ,,^^ adam@gimp.org http://www.foxbox.org/ co:3