summary refs log tree commit diff
path: root/Src/Zle
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-25 10:52:25 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-10-25 10:52:25 +0000
commit6db6cde964ca152f3d83034695e0fe822c9e7011 (patch)
tree71107794c33d5869af2bd41a995d8b67dda36266 /Src/Zle
parent9e44b5ea29c073e553a86b5fe50b66e25437e375 (diff)
downloadzsh-6db6cde964ca152f3d83034695e0fe822c9e7011.tar.gz
zsh-6db6cde964ca152f3d83034695e0fe822c9e7011.tar.xz
zsh-6db6cde964ca152f3d83034695e0fe822c9e7011.zip
re-display list for cleanup only if we were in menu selection (13084)
Diffstat (limited to 'Src/Zle')
-rw-r--r--Src/Zle/complist.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 3e746b914..6982dc774 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2270,7 +2270,12 @@ domenuselect(Hookdef dummy, Chdata dat)
 	menucmp = 2;
 	showinglist = -2;
 	minfo.asked = 0;
-	zrefresh();
+	if (!noselect) {
+	    int nos = noselect;
+
+	    zrefresh();
+	    noselect = nos;
+	}
     }
     if (!noselect && (!dat || acc)) {
 	showinglist = -2;