commit e00ac3d799536cee5a7facf4fd5b39109377193d
parent e9128d260575a52bf5673a05bd7cda764b9fb0bf
Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Sat, 7 Nov 2015 05:07:42 +0100
set default history length to 5
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lchat.c b/lchat.c
@@ -73,7 +73,7 @@ main(int argc, char *argv[])
int c;
int ch;
bool empty_line = true;
- size_t history_len = 0;
+ size_t history_len = 5;
char *prompt = ">";
size_t prompt_len = strlen(prompt);
char *dir = ".";