summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/client.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/client.c b/client/client.c
index 78a7415..568ea2f 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);
}