diff --git a/client/client.c b/client/client.c index 78a7415a..568ea2f6 100644 --- a/client/client.c +++ b/client/client.c @@ -103,6 +103,8 @@ got_line(char *cmd_buffer) input_hidden = 0; free(cmd); } + else + add_history(cmd_buffer); } free(cmd_buffer); }