about summary refs log tree commit diff
path: root/Src/Zle/zle_keymap.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2005-09-09 11:48:27 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2005-09-09 11:48:27 +0000
commitd39b9fabdb7c6802aff547b17810b02d9dffa8a4 (patch)
treecd09c46bea91106645ab48b15efea4836f97ca3d /Src/Zle/zle_keymap.c
parentf384f479849294da76608a5608bc2fcf08f298f0 (diff)
downloadzsh-d39b9fabdb7c6802aff547b17810b02d9dffa8a4.tar.gz
zsh-d39b9fabdb7c6802aff547b17810b02d9dffa8a4.tar.xz
zsh-d39b9fabdb7c6802aff547b17810b02d9dffa8a4.zip
21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF
Diffstat (limited to 'Src/Zle/zle_keymap.c')
-rw-r--r--Src/Zle/zle_keymap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c
index 6f4e062fc..376805549 100644
--- a/Src/Zle/zle_keymap.c
+++ b/Src/Zle/zle_keymap.c
@@ -1341,7 +1341,7 @@ getkeymapcmd(Keymap km, Thingy *funcp, char **strp)
 static int
 getkeybuf(int w)
 {
-    int c = getbyte(w);
+    int c = getbyte(w, NULL);
 
     if(c < 0)
 	return EOF;