about summary refs log tree commit diff
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
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)
-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;