From 77f5b71cec11b2c535afb56209c06cac35e3920b Mon Sep 17 00:00:00 2001 From: Sven Wischnowsky Date: Thu, 27 Apr 2000 08:55:06 +0000 Subject: make menu-selection handle undefined-key (10961) --- Src/Zle/complist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src') 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; -- cgit 1.4.1