about summary refs log tree commit diff stats
path: root/command.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-05-01 00:24:31 +0100
committerJames Booth <boothj5@gmail.com>2012-05-01 00:24:31 +0100
commit1730372e00a7469a05c7535c68dbfab83f8af0b4 (patch)
tree9278455cd79141634465863bbcfd0d0595b232ad /command.c
parent4531aebd291186e9dd49fb2ec1f1b9b96a4ed23f (diff)
downloadprofani-tty-1730372e00a7469a05c7535c68dbfab83f8af0b4.tar.gz
Bash style history
Diffstat (limited to 'command.c')
-rw-r--r--command.c5
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;