---
name: "CursesW.noDelay"
section: "3kaya"
platform: "linux"
package: "libkaya-ncursesw-dev"
version: "0.4.4-6.2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/CursesW.noDelay"
---

# CursesW.noDelay(3kaya)

Enable non-blocking input

## 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)**
