Add rl_set_getc_func()

So it's possible to install another implementation of rl_getc() function.
This commit is contained in:
abitmore
2019-05-07 17:43:37 -04:00
parent ee176c80d7
commit 8f6d724e30
2 changed files with 9 additions and 0 deletions

View File

@@ -114,6 +114,8 @@ extern void add_history (const char *line);
extern int read_history (const char *filename);
extern int write_history (const char *filename);
extern rl_getc_func_t *rl_set_getc_func(rl_getc_func_t *func);
extern rl_completion_func_t *rl_attempted_completion_function;
extern rl_complete_func_t *rl_set_complete_func (rl_complete_func_t *func);
extern rl_list_possib_func_t *rl_set_list_possib_func (rl_list_possib_func_t *func);