about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorAndrey Borzenkov <bor@users.sourceforge.net>2005-08-15 17:30:58 +0000
committerAndrey Borzenkov <bor@users.sourceforge.net>2005-08-15 17:30:58 +0000
commitf570dd59e3fba17f060350ce117d29b8afb2c181 (patch)
tree8b74f8e75dd80e38aeeba9acc1245e77c026f214 /Src
parent987033eaf9591a5b2fc30b09dcf2a0a6266b9408 (diff)
downloadzsh-f570dd59e3fba17f060350ce117d29b8afb2c181.tar.gz
zsh-f570dd59e3fba17f060350ce117d29b8afb2c181.tar.xz
zsh-f570dd59e3fba17f060350ce117d29b8afb2c181.zip
21622: fix recursive completion call in zrefresh()
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/zle_refresh.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/zle_refresh.c b/Src/Zle/zle_refresh.c
index fe277a5b4..ce90be845 100644
--- a/Src/Zle/zle_refresh.c
+++ b/Src/Zle/zle_refresh.c
@@ -746,8 +746,13 @@ singlelineout:
 	zfree(tmpline, tmpll);
 
     /* if we have a new list showing, note it; if part of the list has been
-    overwritten, redisplay it. */
+    overwritten, redisplay it. We have to metafy line back before calling
+    completion code */
     if (showinglist == -2 || (showinglist > 0 && showinglist < nlnct)) {
+	if (remetafy) {
+	    metafy_line();
+	    remetafy = 0;
+	}
 	inlist = 1;
 	listmatches();
 	inlist = 0;