The basic readline interface. More...
| Macros | |
| #define | IC_VERSION | 
| Isocline version: 102 = 1.0.2.  More... | |
| Functions | |
| char * | ic_readline (const char *prompt_text) | 
| Read input from the user using rich editing abilities.  More... | |
| char * | ic_readline_ex (const char *prompt_text, ic_completer_fun_t *completer, void *completer_arg, ic_highlight_fun_t *highlighter, void *highlighter_arg) | 
| Read input from the user using rich editing abilities, using a particular completion function and highlighter for this call only.  More... | |
The basic readline interface.
| #define IC_VERSION | 
Isocline version: 102 = 1.0.2.
| char* ic_readline | ( | const char * | prompt_text | ) | 
Read input from the user using rich editing abilities.
| prompt_text | The prompt text, can be NULL for the default (""). The displayed prompt becomes prompt_textfollowed by theprompt_marker("> "). | 
freed by the caller. If the standard input (stdin) has no editing capability (like a dumb terminal (e.g. TERM=dumb), running in a debuggen, a pipe or redirected file, etc.) the input is read directly from the input stream up to the next line without editing capability. See also ic_set_prompt_marker(), ic_style_def() 
| char* ic_readline_ex | ( | const char * | prompt_text, | 
| ic_completer_fun_t * | completer, | ||
| void * | completer_arg, | ||
| ic_highlight_fun_t * | highlighter, | ||
| void * | highlighter_arg | ||
| ) | 
Read input from the user using rich editing abilities, using a particular completion function and highlighter for this call only.
both can be NULL in which case the defaults are used.