about summary refs log tree commit diff
path: root/Src
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 /Src
parent8974ab59c02a44ef176423bca7f77a717ae4ca1b (diff)
downloadzsh-77f5b71cec11b2c535afb56209c06cac35e3920b.tar.gz
zsh-77f5b71cec11b2c535afb56209c06cac35e3920b.tar.xz
zsh-77f5b71cec11b2c535afb56209c06cac35e3920b.zip
make menu-selection handle undefined-key (10961)
Diffstat (limited to 'Src')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 2 insertions, 0 deletions
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;