newt_wait_for_key

(PECL newt >= 0.1)
Doesn't return until a key has been pressed
void newt_wait_for_key ( void )

This function doesn't return until a key has been pressed. The keystroke is then ignored. If a key is already in the terminal's buffer, this function discards a keystroke and returns immediately.

Returns:

No value is returned.

See also:

newt_clear_key_buffer() -

doc_php
2016-02-24 15:55:03
Comments
Leave a Comment

Please login to continue.