downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

newt_win_choice> <newt_vertical_scrollbar
[edit] Last updated: Fri, 26 Apr 2013

view this page in

newt_wait_for_key

(PECL newt >= 0.1)

newt_wait_for_keyDoesn't return until a key has been pressed

Description

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.

Return Values

No value is returned.

See Also

  • newt_clear_key_buffer() - Discards the contents of the terminal's input buffer without waiting for additional input



add a note add a note User Contributed Notes newt_wait_for_key - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites