summaryrefslogtreecommitdiff
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2009-07-01 17:09:37 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2009-07-01 17:09:37 +0000
commit55e4beb8d821400c3c989aa694548d5aed4a536c (patch)
tree387a1618ba41b80d20057dfb331b7fe668621d81 /Src/Zle/complist.c
parent041057687fc1d4a2f9912fcb86e04517686b3642 (diff)
downloadzsh-55e4beb8d821400c3c989aa694548d5aed4a536c.tar.gz
zsh-55e4beb8d821400c3c989aa694548d5aed4a536c.zip
27085: add accept-search handling to scrollist keymap
Diffstat (limited to 'Src/Zle/complist.c')
-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 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;