mirror of
https://github.com/troglobit/editline.git
synced 2025-11-01 09:25:20 +08:00
rl_unintialize(): New function, free all memory after use
Free all allocated internal memory and reset variables so rl_initialize() or readline() may be called again later. Signed-off-by: Claus Fischer <claus.fischer@clausfischer.com> Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
committed by
Joachim Nilsson
parent
ed87f37409
commit
317b43e488
@@ -82,6 +82,7 @@ extern int el_hist_size; /* size of history scrollback buffer, default:
|
||||
|
||||
extern void rl_initialize(void);
|
||||
extern void rl_reset_terminal(const char *terminal_name);
|
||||
extern void rl_uninitialize(void);
|
||||
|
||||
void rl_save_prompt(void);
|
||||
void rl_restore_prompt(void);
|
||||
|
||||
Reference in New Issue
Block a user