diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 11:48:27 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2005-09-09 11:48:27 +0000 |
commit | d39b9fabdb7c6802aff547b17810b02d9dffa8a4 (patch) | |
tree | cd09c46bea91106645ab48b15efea4836f97ca3d /Src/Zle/zle_vi.c | |
parent | f384f479849294da76608a5608bc2fcf08f298f0 (diff) | |
download | zsh-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.c | 2 |
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; |