summaryrefslogtreecommitdiff
path: root/src/input.c
diff options
context:
space:
mode:
authorsabetts <sabetts>2004-11-04 03:56:13 +0000
committersabetts <sabetts>2004-11-04 03:56:13 +0000
commitdd6464d797e904ccb4ad35057d5d0907a871728f (patch)
tree81a30315670bb75ad85aade2b1554db99fc54c31 /src/input.c
parentf34655b84b3562f6adf59556f76d40b7527409d8 (diff)
downloadratpoison-dd6464d797e904ccb4ad35057d5d0907a871728f.zip
*** empty log message ***
Diffstat (limited to 'src/input.c')
-rw-r--r--src/input.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/input.c b/src/input.c
index b9ecd4c..626acad 100644
--- a/src/input.c
+++ b/src/input.c
@@ -426,6 +426,10 @@ get_more_input (char *prompt, char *preinput,
char *final_input;
edit_status status;
+#ifdef HAVE_READLINE_HISTORY_H
+ history_reset();
+#endif /* HAVE_READLINE_HISTORY_H */
+
/* Create our line structure */
line = input_line_new (prompt, preinput, compl_fn);