uTools-Manuals/docs/php/newt_wait_for_key.html
2019-04-28 19:00:34 +08:00

48 lines
1.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Doesn't return until a key has been pressed</title>
</head>
<body class="docs"><div id="layout">
<div id="layout-content"><div id="function.newt-wait-for-key" class="refentry">
<div class="refnamediv">
<h1 class="refname">newt_wait_for_key</h1>
<p class="verinfo">(PECL newt &gt;= 0.1)</p><p class="refpurpose"><span class="refname">newt_wait_for_key</span> &mdash; <span class="dc-title">Doesn&#039;t return until a key has been pressed</span></p>
</div>
<div class="refsect1 description" id="refsect1-function.newt-wait-for-key-description">
<h3 class="title">说明</h3>
<div class="methodsynopsis dc-description">
<span class="methodname"><strong>newt_wait_for_key</strong></span>
( <span class="methodparam">void</span>
) : <span class="type"><span class="type void">void</span></span></div>
<p class="para rdfs-comment">
This function doesn&#039;t return until a key has been pressed. The keystroke
is then ignored. If a key is already in the terminal&#039;s buffer, this
function discards a keystroke and returns immediately.
</p>
</div>
<div class="refsect1 returnvalues" id="refsect1-function.newt-wait-for-key-returnvalues">
<h3 class="title">返回值</h3>
<p class="para">
没有返回值。
</p>
</div>
<div class="refsect1 seealso" id="refsect1-function.newt-wait-for-key-seealso">
<h3 class="title">参见</h3>
<p class="para">
<ul class="simplelist">
<li class="member"><span class="function"><a href="newt_clear_key_buffer.html" class="function" rel="rdfs-seeAlso">newt_clear_key_buffer()</a> - Discards the contents of the terminal's input buffer without
waiting for additional input</span></li>
</ul>
</p>
</div>
</div></div></div></body></html>