mirror of
https://github.com/irssi/irssi.git
synced 2026-08-08 19:30:15 +02:00
add two XSFuncs to manipulate command history entries
it is possible to use Irssi::UI::Window::get_history_entries to save the history entries, load_history_entries to load entries into the command history and delete_history_entries to remove history entries (for example to remove history selectively)
This commit is contained in:
parent
1fd285dccf
commit
16d68a86ca
3 changed files with 196 additions and 0 deletions
|
|
@ -28,6 +28,8 @@ void command_history_init(void);
|
|||
void command_history_deinit(void);
|
||||
|
||||
void command_history_add(HISTORY_REC *history, const char *text);
|
||||
void command_history_load_entry(time_t time, HISTORY_REC *history, const char *text);
|
||||
gboolean command_history_delete_entry(time_t history_time, HISTORY_REC *history, const char *text);
|
||||
|
||||
GList *command_history_list_last(HISTORY_REC *history);
|
||||
GList *command_history_list_first(HISTORY_REC *history);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue