about summary refs log tree commit diff
path: root/Src/Zle/zle_vi.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_vi.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_vi.c')
-rw-r--r--Src/Zle/zle_vi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_vi.c b/Src/Zle/zle_vi.c
index a83f0197e..cb072cdb6 100644
--- a/Src/Zle/zle_vi.c
+++ b/Src/Zle/zle_vi.c
@@ -108,7 +108,7 @@ vigetkey(void)
     char m[3], *str;
     Thingy cmd;
 
-    if(getbyte(0) == EOF)
+    if (getbyte(0, NULL) == EOF)
 	return ZLEEOF;
 
     m[0] = lastchar;