Scroll to navigation

CursesW.noDelay(3kaya) Kaya module reference CursesW.noDelay(3kaya)

NAME

CursesW::noDelay - Enable non-blocking input

SYNOPSIS

Void noDelay( Window win, Bool bf )

ARGUMENTS

win The window to apply to
bf Whether CursesW.wgetch (3kaya) will wait for input.

DESCRIPTION

Enable or disable non-blocking input. If this is enabled and no input is waiting, then CursesW.getch (3kaya) will return ERR (probably -1). If it is disabled, then getch will wait for input. This function does nothing on Windows

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

CursesW.halfDelay (3kaya)
August 2014 Kaya