forked from speedie/spmenu
Remove history.h
This commit is contained in:
parent
3bc8d85937
commit
dd58bcdb74
|
@ -1,5 +1,9 @@
|
|||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
static char **history;
|
||||
static size_t histsz, histpos;
|
||||
static void savehistory(char *input);
|
||||
|
||||
void loadhistory(void) {
|
||||
FILE *fp = NULL;
|
||||
static size_t cap = 0;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
/* See LICENSE file for copyright and license details. */
|
||||
|
||||
static char *histfile;
|
||||
static char **history;
|
||||
static size_t histsz, histpos;
|
||||
static void savehistory(char *input);
|
|
@ -111,6 +111,7 @@ static int overridelines = 1; /* Allow overriding lines using keyb
|
|||
static int overridecolumns = 1; /* Allow overriding columns using keybinds */
|
||||
|
||||
/* History options */
|
||||
static char *histfile = NULL; /* History file, NULL means no history file */
|
||||
static int maxhist = 64; /* Max number of history entries */
|
||||
static int histdup = 0; /* If 1, record repeated histories */
|
||||
|
||||
|
|
Loading…
Reference in a new issue