From 971b2310ae4d367d608e34e9465ad5d2c65e505d Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 12 Mar 2000 22:55:09 +0000 Subject: Commands which failed expansions are to be stored to history, too. --- client/client.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/client.c') 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); } -- cgit v1.2.3