summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-12 23:55:09 +0100
committerMartin Mares <mj@ucw.cz>2000-03-12 23:55:09 +0100
commit971b2310ae4d367d608e34e9465ad5d2c65e505d (patch)
tree6b18fc0ba6c9ff9d52a34a326d3132ee3665b7f1 /client
parentf098e072bec8d5858afbf713635217ea84c7e45d (diff)
downloadbird-971b2310ae4d367d608e34e9465ad5d2c65e505d.tar
bird-971b2310ae4d367d608e34e9465ad5d2c65e505d.zip
Commands which failed expansions are to be stored to history, too.
Diffstat (limited to 'client')
-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);
}