mirror of
https://github.com/irssi/irssi.git
synced 2026-08-15 06:32:06 +02:00
16 lines
431 B
C
16 lines
431 B
C
|
|
#ifndef __COMMAND_HISTORY_H
|
||
|
|
#define __COMMAND_HISTORY_H
|
||
|
|
|
||
|
|
#include "windows.h"
|
||
|
|
|
||
|
|
void command_history_init(void);
|
||
|
|
void command_history_deinit(void);
|
||
|
|
|
||
|
|
void command_history_add(WINDOW_REC *window, const char *text, int prepend);
|
||
|
|
|
||
|
|
const char *command_history_prev(WINDOW_REC *window, const char *text);
|
||
|
|
const char *command_history_next(WINDOW_REC *window, const char *text);
|
||
|
|
|
||
|
|
void command_history_clear_pos(WINDOW_REC *window);
|
||
|
|
|
||
|
|
#endif
|