- PHP 手册
- 函数参考
- 针对命令行的扩展
- Newt
- Newt 函数
newt_clear_key_buffer
(PECL newt >= 0.1)
newt_clear_key_buffer — Discards the contents of the terminal's input buffer without waiting for additional input
说明
newt_clear_key_buffer ( void ) : voidDiscards the contents of the terminal's input buffer without waiting for additional input.
返回值
没有返回值。
参见
- newt_wait_for_key() - Doesn't return until a key has been pressed
User Contributed Notes
There are no user contributed notes for this page.官方地址:https://www.php.net/manual/en/function.newt-clear-key-buffer.php