set default history length to 5 - lchat - A line oriented chat front end for ii.
(HTM) git clone git://git.suckless.org/lchat
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit e00ac3d799536cee5a7facf4fd5b39109377193d
(DIR) parent e9128d260575a52bf5673a05bd7cda764b9fb0bf
(HTM) Author: Jan Klemkow <j.klemkow@wemelug.de>
Date: Sat, 7 Nov 2015 05:07:42 +0100
set default history length to 5
Diffstat:
M lchat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) 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 = ".";