summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/zle_hist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index ce3c284ca..98f01fbb7 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -1357,6 +1357,10 @@ doisearch(char **args, int dir, int pattern)
 	    statusline = ibuf + NORM_PROMPT_POS;
 	}
 	nosearch = 0;
+	if (feep) {
+	    handlefeep(zlenoargs);
+	    feep = 0;
+	}
 	sbuf[sbptr] = '_';
 	sbuf[sbptr+1] = '\0';
     ref: