Newt 函数
在线手册:中文  英文

newt_wait_for_key

(PECL newt >= 0.1)

newt_wait_for_keyDoesn'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.

返回值

没有返回值。

参见


Newt 函数
在线手册:中文  英文
易百教程