diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 22:55:09 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 22:55:09 +0000 |
commit | 971b2310ae4d367d608e34e9465ad5d2c65e505d (patch) | |
tree | 6b18fc0ba6c9ff9d52a34a326d3132ee3665b7f1 /client/client.c | |
parent | f098e072bec8d5858afbf713635217ea84c7e45d (diff) |
Commands which failed expansions are to be stored to history, too.
Diffstat (limited to 'client/client.c')
-rw-r--r-- | client/client.c | 2 |
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); } |