add a key binding to erase history entries

it is possible to delete the current history entry using the
erase_history_entry key binding
This commit is contained in:
ailin-nemui 2017-10-06 15:31:52 +02:00
commit deac66f33c
3 changed files with 31 additions and 0 deletions

View file

@ -40,6 +40,7 @@ const char *command_history_prev(WINDOW_REC *window, const char *text);
const char *command_history_next(WINDOW_REC *window, const char *text);
const char *command_global_history_prev(WINDOW_REC *window, const char *text);
const char *command_global_history_next(WINDOW_REC *window, const char *text);
const char *command_history_delete_current(WINDOW_REC *window, const char *text);
void command_history_clear_pos(WINDOW_REC *window);