diff options
author | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2015-12-15 01:52:44 +0100 |
---|---|---|
committer | ailin-nemui <ailin-nemui@users.noreply.github.com> | 2016-01-08 15:19:13 +0100 |
commit | 4659cea65a663b11f3cc16e1d03c9955a4135238 (patch) | |
tree | d3966d97a49c08b8bbc9c98759e25819824a0db0 /src/fe-common/core/command-history.h | |
parent | be6d7629e3e58102e5c7599943974cc39c9b172c (diff) | |
download | irssi-4659cea65a663b11f3cc16e1d03c9955a4135238.zip |
option to clear the history
Diffstat (limited to 'src/fe-common/core/command-history.h')
-rw-r--r-- | src/fe-common/core/command-history.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fe-common/core/command-history.h b/src/fe-common/core/command-history.h index 7b76246b..a572216b 100644 --- a/src/fe-common/core/command-history.h +++ b/src/fe-common/core/command-history.h @@ -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); |