diff options
author | Martin Mares <mj@ucw.cz> | 2000-03-12 23:55:09 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 2000-03-12 23:55:09 +0100 |
commit | 971b2310ae4d367d608e34e9465ad5d2c65e505d (patch) | |
tree | 6b18fc0ba6c9ff9d52a34a326d3132ee3665b7f1 | |
parent | f098e072bec8d5858afbf713635217ea84c7e45d (diff) | |
download | bird-971b2310ae4d367d608e34e9465ad5d2c65e505d.tar bird-971b2310ae4d367d608e34e9465ad5d2c65e505d.zip |
Commands which failed expansions are to be stored to history, too.
-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 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); } |