about summary refs log tree commit diff
path: root/Src/Zle/zle_hist.c
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-14 00:04:11 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-01-14 00:04:12 +0000
commit5cf6ae00564dd01a0c3c9e82b2ea504d609882e7 (patch)
tree3b4f5803778cba6acbe78ce318308eacf19ed706 /Src/Zle/zle_hist.c
parenta8a00be442370ce491f9cc22a3fa0b4853feecb5 (diff)
downloadzsh-5cf6ae00564dd01a0c3c9e82b2ea504d609882e7.tar.gz
zsh-5cf6ae00564dd01a0c3c9e82b2ea504d609882e7.tar.xz
zsh-5cf6ae00564dd01a0c3c9e82b2ea504d609882e7.zip
37590: Invoke zle-line-pre-redraw during isearch.
Diffstat (limited to 'Src/Zle/zle_hist.c')
-rw-r--r--Src/Zle/zle_hist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/Zle/zle_hist.c b/Src/Zle/zle_hist.c
index 95d96c95c..abd6e1749 100644
--- a/Src/Zle/zle_hist.c
+++ b/Src/Zle/zle_hist.c
@@ -1480,6 +1480,7 @@ doisearch(char **args, int dir, int pattern)
 	    isearch_active = 0;
     ref:
 	zlecallhook("zle-isearch-update", NULL);
+	redrawhook();
 	zrefresh();
 	if (!(cmd = getkeycmd()) || cmd == Th(z_sendbreak)) {
 	    int i;
@@ -1694,6 +1695,7 @@ doisearch(char **args, int dir, int pattern)
     statusline = NULL;
     unmetafy_line();
     zlecallhook("zle-isearch-exit", NULL);
+    redrawhook();
     if (exitfn)
 	exitfn(zlenoargs);
     selectkeymap(okeymap, 1);