From 55e4beb8d821400c3c989aa694548d5aed4a536c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 1 Jul 2009 17:09:37 +0000 Subject: 27085: add accept-search handling to scrollist keymap --- Src/Zle/complist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Src/Zle/complist.c') diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c index 41bc7622c..da7a8ce08 100644 --- a/Src/Zle/complist.c +++ b/Src/Zle/complist.c @@ -974,6 +974,8 @@ asklistscroll(int ml) !strcmp(cmd->nam, "menu-complete") || !strcmp(cmd->nam, "menu-expand-or-complete")) mrestlines = lines - 1; + else if (cmd == Th(z_acceptsearch)) + ret = 1; else { ungetkeycmd(); ret = 1; -- cgit 1.4.1