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_misc.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_misc.c')
-rw-r--r-- | Src/Zle/zle_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/zle_misc.c b/Src/Zle/zle_misc.c index 6b79f431c..05a780b0c 100644 --- a/Src/Zle/zle_misc.c +++ b/Src/Zle/zle_misc.c @@ -595,7 +595,7 @@ universalargument(char **args) * * Hence for now this remains byte-by-byte. */ - while ((gotk = getbyte(0)) != EOF) { + while ((gotk = getbyte(0, NULL)) != EOF) { if (gotk == '-' && !digcnt) { minus = -1; digcnt++; |