diff options
author | James Booth <boothj5@gmail.com> | 2012-05-01 00:24:31 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-05-01 00:24:31 +0100 |
commit | 1730372e00a7469a05c7535c68dbfab83f8af0b4 (patch) | |
tree | 9278455cd79141634465863bbcfd0d0595b232ad /history.h | |
parent | 4531aebd291186e9dd49fb2ec1f1b9b96a4ed23f (diff) | |
download | profani-tty-1730372e00a7469a05c7535c68dbfab83f8af0b4.tar.gz |
Bash style history
Diffstat (limited to 'history.h')
-rw-r--r-- | history.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/history.h b/history.h index 7afca5e1..a65ac397 100644 --- a/history.h +++ b/history.h @@ -25,8 +25,8 @@ #define HISTORY_H void history_init(void); -void history_append(const char * const inp); -char *history_previous(void); -char *history_next(void); +void history_append(char *inp); +char *history_previous(char *inp, int *size); +char *history_next(char *inp, int *size); #endif |