<para>
<refsect2 id="readline-readline" role="function"><title>readline.readline (prompt)</title><para>Prompts for one line of input on standard input using <parameter>prompt</parameter> as the prompt.</para>
<variablelist role="params">
<varlistentry><term><parameter>prompt</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis></term><listitem><simpara>A string entered on standard input.</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
<refsect2 id="readline-bind" role="function"><title>readline.bind (key, function)</title><para>Binds <parameter>key</parameter> to <parameter>function</parameter> causing the function to be invokved whenever <parameter>key</parameter> is pressed</para>
<variablelist role="params">
<varlistentry><term><parameter>key</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
<varlistentry><term><parameter>function</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
<refsect2 id="readline-done" role="function"><title>readline.done ()</title><para>Indicates that readline should finish the current line, and return from <parameter>readline.readline</parameter>. Can be used in callbacks to implement features like multiline editing</para>
</refsect2>
<refsect2 id="readline-buffer" role="function"><title>readline.buffer()</title><para>Retrieve the current readline buffer</para>
<variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis></term><listitem><simpara>The current readline buffer</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
<refsect2 id="readline-insert" role="function"><title>readline.insert (string)</title><para>Inserts <parameter>string</parameter> in to the current readline buffer</para>
<variablelist role="params">
<varlistentry><term><parameter>string</parameter></term><listitem><simpara>undefined</simpara></listitem></varlistentry>
</variablelist>
</refsect2>
</para>
