about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/complist.c7
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 6687d0041..b7ee13088 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-10-25  Sven Wischnowsky  <wischnow@zsh.org>
 
+	* 13084: Src/Zle/complist.c: re-display list for cleanup only if
+ 	we were in menu selection
+	
 	* 13082: Src/Zle/complist.c, Src/Zle/compresult.c: add a counter
  	for invalidatelist() to allow finding out if there is a new list
 	
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;