summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-12 22:55:09 +0000
committerMartin Mares <mj@ucw.cz>2000-03-12 22:55:09 +0000
commit971b2310ae4d367d608e34e9465ad5d2c65e505d (patch)
tree6b18fc0ba6c9ff9d52a34a326d3132ee3665b7f1
parentf098e072bec8d5858afbf713635217ea84c7e45d (diff)
Commands which failed expansions are to be stored to history, too.
-rw-r--r--client/client.c2
1 files changed, 2 insertions, 0 deletions
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);
}