|Seed Modules Reference Manual|
The readline module allows for basic usage of the GNU readline library, in Seed. More advanced features may be added a a later time. In order to use the readline module it must be first imported.
readline = imports.readline;
Prompts for one line of input on standard input using
prompt as the prompt.
||A string to use as the readline prompt|
|A string entered on standard input.|
function causing the function to be invokved whenever
key is pressed
||A string specifying the key to bind|
||The function to invoke when
Indicates that readline should finish the current line, and return from
readline.readline. Can be used in callbacks to implement features like multiline editing
string in to the current readline buffer
||The string to insert|