1 #ifndef __COMMAND_HISTORY_H
2 #define __COMMAND_HISTORY_H
4 #include "fe-windows.h"
6 void command_history_init(void);
7 void command_history_deinit(void);
9 void command_history_add(WINDOW_REC *window, const char *text, int prepend);
11 const char *command_history_prev(WINDOW_REC *window, const char *text);
12 const char *command_history_next(WINDOW_REC *window, const char *text);
14 void command_history_clear_pos(WINDOW_REC *window);