略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: newt_wait_for_key

2024-04-29

newt_wait_for_key

(PECL newt >= 0.1)

newt_wait_for_keyDoesn't return until a key has been pressed

说明

newt_wait_for_key ( void ) : 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_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

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.newt-wait-for-key.php

冷却塔厂家 广告
中文GPT4.0无需注册 广告
北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3