Qore linenoise Module 1.0.1
Loading...
Searching...
No Matches
Qore::Linenoise Namespace Reference

Linenoise namespace. More...

Functions

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

Detailed Description

Linenoise namespace.