Readline input history. More...
| Functions | |
| void | ic_set_history (const char *fname, long max_entries) | 
| Enable history.  More... | |
| void | ic_history_remove_last (void) | 
| Remove the last entry in the history.  More... | |
| void | ic_history_clear (void) | 
| Clear the history.  More... | |
| void | ic_history_add (const char *entry) | 
| Add an entry to the history.  More... | |
Readline input history.
| void ic_history_add | ( | const char * | entry | ) | 
Add an entry to the history.
| void ic_history_clear | ( | void | ) | 
Clear the history.
| void ic_history_remove_last | ( | void | ) | 
Remove the last entry in the history.
The last returned input from ic_readline() is automatically added to the history; this function removes it.
| void ic_set_history | ( | const char * | fname, | 
| long | max_entries | ||
| ) | 
Enable history.
Use a NULL filename to not persist the history. Use -1 for max_entries to get the default (200).