note 79952 deleted from function.ncurses-getch by danbrown
| From: | danbrown@php.net | Date: | Thu, 18 Aug 2011 16:50:15 +0000 |
| Subject: | note 79952 deleted from function.ncurses-getch by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-182572@lists.php.net to get a copy of this message | ||
Note Submitter: Quis _ Omicidio _ NL
----
In reply to petr at hroch dot info
You can use
ncurses_timeout(0);
ncurses_getch() will return -1 if no data is available