[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Can't Lua ever sleep?
- From: Daurnimator <quae@...>
- Date: Mon, 6 Mar 2017 17:35:09 +1100
On 6 March 2017 at 17:31, Dirk Laurie <email@example.com> wrote:
> 2017-03-06 7:53 GMT+02:00 Sean Conner <firstname.lastname@example.org>:
>> It was thus said that the Great Dirk Laurie once stated:
>>> I've searched the manual for "sleep", "wait", "pause", "delay"
>>> and not found any except the pauses of the GC. Does it have
>>> a different name or must I load some module?
>> In the context of POSIX:
>> sleep() pause execution for a given amount of time
>> wait() pause execution until a child process exits
>> pause() pause execution until a signal happens
>> delay there is no spoon
>> -spc (So what exactly are you trying to achieve?)
> A semi-animated slideshow in lcurses. I have a Turbo Pascal
> mindset when it comes to fullscreen text apps. Unit Crt used to
> have a "Delay", lcurses seems not to.
Do you actually want to sleep for X seconds?
Or do you want to sleep for X seconds *or* until input is received?
(e.g. to allow pressing 'space' to go forwards a slide manually)