mirror of
https://github.com/troglobit/editline.git
synced 2025-09-17 01:08:08 +08:00
Minor, header cleanup, whitespace fixes, comments
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
@@ -61,11 +61,14 @@ typedef struct {
|
||||
char **Lines;
|
||||
} el_hist_t;
|
||||
|
||||
/* User definable callbacks. */
|
||||
rl_getc_func_t *rl_getc_function = rl_getc;
|
||||
rl_hook_func_t *rl_event_hook;
|
||||
rl_vintfunc_t *rl_prep_term_function = rl_prep_terminal;
|
||||
rl_voidfunc_t *rl_deprep_term_function = rl_deprep_terminal;
|
||||
|
||||
char **(*rl_attempted_completion_function)(const char *token, int start, int end);
|
||||
|
||||
/*
|
||||
** Globals.
|
||||
*/
|
||||
@@ -121,9 +124,6 @@ const char *rl_readline_name = NULL; /* Set by calling program, for condit
|
||||
FILE *rl_instream = NULL; /* The stdio stream from which input is read. Defaults to stdin if NULL */
|
||||
FILE *rl_outstream = NULL; /* The stdio stream to which output is flushed. Defaults to stdout if NULL */
|
||||
|
||||
/* User definable callbacks. */
|
||||
char **(*rl_attempted_completion_function)(const char *token, int start, int end);
|
||||
|
||||
/* Declarations. */
|
||||
static char *editinput(void);
|
||||
#ifdef CONFIG_USE_TERMCAP
|
||||
|
Reference in New Issue
Block a user