summary refs log tree commit diff
diff options
context:
space:
mode:
authorSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-16 08:05:15 +0000
committerSven Wischnowsky <wischnow@users.sourceforge.net>2000-05-16 08:05:15 +0000
commit57ed8b54412830ac94408d772c2038448e46d02e (patch)
tree46afb878080706ae66970970edfa9ab08a270b1d
parent16ef2a726646ba444e4c876078bd77d81c095298 (diff)
downloadzsh-57ed8b54412830ac94408d772c2038448e46d02e.tar.gz
zsh-57ed8b54412830ac94408d772c2038448e46d02e.tar.xz
zsh-57ed8b54412830ac94408d772c2038448e46d02e.zip
make menu-select accept the match when typing a non-special character (11401)
-rw-r--r--ChangeLog5
-rw-r--r--Src/Zle/complist.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index fbe2909b0..8c797d461 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-05-16  Sven Wischnowsky  <wischnow@zsh.org>
+
+	* 11401: Src/Zle/complist.c: make menu-select accept the match
+ 	when typing a non-special character
+	
 2000-05-16  Tanaka Akira  <akr@zsh.org>
 
 	* 11396: Completion/User/_look: display a message when
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index fdda07112..7b058f135 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -2112,6 +2112,7 @@ domenuselect(Hookdef dummy, Chdata dat)
 	    continue;
 	} else {
 	    ungetkeycmd();
+	    acc = 1;
 	    break;
 	}
 	do_single(**p);