Qore linenoise Module  1.0.0
Qore::Linenoise Namespace Reference

Linenoise namespace. More...

Functions

int columns ()
 Get terminal width in characters. More...
 
list< auto > history ()
 Get complete history. More...
 
int history_add (string line)
 Add string to history. More...
 
nothing history_free ()
 Clear the history.
 
int history_get_max_len ()
 get size of the history More...
 
nothing history_load (string filename)
 Load history from file. More...
 
nothing history_save (string filename)
 Save history to file. More...
 
int history_set_max_len (int len)
 Set size of the history. More...
 
string line (string prompt)
 Main function to obtain line value. More...
 
nothing set_callback (code callback)
 Set auto-completion callback function. More...
 

Detailed Description

Linenoise namespace.