about summary refs log tree commit diff
diff options
context:
space:
mode:
authorm0viefreak <m0viefreak.cm@googlemail.com>2016-10-08 18:53:55 +0200
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-10-18 14:19:59 +0000
commit5b192a4cd1fafde42fcbc9b19cee40885705880e (patch)
tree58224630be8e93b489f81527d4a88d87aed9cd89
parentecc0a5ece2b3bbccdfb005c59508cec7473b9b06 (diff)
downloadzsh-5b192a4cd1fafde42fcbc9b19cee40885705880e.tar.gz
zsh-5b192a4cd1fafde42fcbc9b19cee40885705880e.tar.xz
zsh-5b192a4cd1fafde42fcbc9b19cee40885705880e.zip
39590: zle: Call zle-line-pre-redraw after inserting a completion result
This is necessary to make sure redrawhook() is called while
cycling results in menu completion.
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/compresult.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 98b40a070..89366f7ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-18  m0viefreak  <m0viefreak.cm@googlemail.com>
+
+	* 39590: Src/Zle/compresult.c: zle: Call zle-line-pre-redraw
+	after inserting a completion result
+
 2016-10-18  Daniel Shahaf  <d.s@daniel.shahaf.name>
 
 	* 39654: Completion/Unix/Command/_make: (based on patch by
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index 7fec7c804..b7ec18f6d 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -1191,6 +1191,7 @@ do_single(Cmatch m)
 	if (menucmp)
 	    minfo.cur = &m;
 	runhookdef(INSERTMATCHHOOK, (void *) &dat);
+	redrawhook();
 	minfo.cur = om;
     }
 }