about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 08:55:06 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-04-27 08:55:06 +0000
commit77f5b71cec11b2c535afb56209c06cac35e3920b (patch)
treee8a75317295c4812c990262bf071f89830087b0a
parent8974ab59c02a44ef176423bca7f77a717ae4ca1b (diff)
downloadzsh-77f5b71cec11b2c535afb56209c06cac35e3920b.tar.gz
zsh-77f5b71cec11b2c535afb56209c06cac35e3920b.tar.xz
zsh-77f5b71cec11b2c535afb56209c06cac35e3920b.zip
make menu-selection handle undefined-key (10961)
-rw-r--r--ChangeLog3
-rw-r--r--Src/Zle/complist.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 5b3315f4f..a700af11e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2000-04-27  Sven Wischnowsky  <wischnow@informatik.hu-berlin.de>
 
+	* 10961: Src/Zle/complist.c: make menu-selection handle
+ 	undefined-key
+	
 	* 10959: Completion/Core/_main_complete, Doc/Zsh/compsys.yo,
  	Doc/Zsh/mod_complist.yo, Src/params.c, Src/Zle/compcore.c,
  	Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/compresult.c:
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index 86a0b1ff6..a53e09d06 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2034,6 +2034,8 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    setwish = 1;
 	    mline = -1;
 	    continue;
+	} else if (cmd == Th(z_undefinedkey)) {
+	    continue;
 	} else {
 	    ungetkeycmd();
 	    break;