diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Src/Zle/zle_hist.c | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index b1aa1a361..36320774b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 24880: Src/Zle/zle_hist.c: feeping on a failed match could + be mistimed. + * 24879: Src/Zle/zle_hist.c: nastiness with pattern search and duplicate line detection. 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: |