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 /command.c | |
parent | 4531aebd291186e9dd49fb2ec1f1b9b96a4ed23f (diff) | |
download | profani-tty-1730372e00a7469a05c7535c68dbfab83f8af0b4.tar.gz |
Bash style history
Diffstat (limited to 'command.c')
-rw-r--r-- | command.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/command.c b/command.c index 17c2dcb0..1de58310 100644 --- a/command.c +++ b/command.c @@ -72,6 +72,11 @@ gboolean process_input(char *inp) return result; } +void command_init(void) +{ + history_init(); +} + static gboolean _handle_command(const char * const command, const char * const inp) { gboolean result = FALSE; |