From d980db411dd471bf7ce7b91608ff2139663d7e40 Mon Sep 17 00:00:00 2001 From: Niv Sardi Date: Thu, 19 Jun 2008 15:28:12 +1000 Subject: [PATCH] Add history to awesome-client Signed-off-by: Julien Danjou --- awesome-client.c | 1 + 1 file changed, 1 insertion(+) diff --git a/awesome-client.c b/awesome-client.c index fb373fcd..d8ff0c10 100644 --- a/awesome-client.c +++ b/awesome-client.c @@ -120,6 +120,7 @@ main(int argc, char **argv) while((msg = readline(prompt))) if((msg_len = a_strlen(msg))) { + add_history (msg); p_realloc(&msg, msg_len + 2); msg[msg_len] = '\n'; msg[msg_len + 1] = '\0';