option to clear the history

This commit is contained in:
ailin-nemui 2015-12-15 01:52:44 +01:00
commit 4659cea65a
5 changed files with 66 additions and 9 deletions

View file

@ -28,6 +28,7 @@ const char *command_history_next(WINDOW_REC *window, const char *text);
void command_history_clear_pos(WINDOW_REC *window);
HISTORY_REC *command_history_create(const char *name);
void command_history_clear(HISTORY_REC *history);
void command_history_destroy(HISTORY_REC *history);
void command_history_link(const char *name);
void command_history_unlink(const char *name);