about summary refs log tree commit diff
path: root/Doc
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 /Doc
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 'Doc')
-rw-r--r--Doc/Zsh/zle.yo8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 048cba576..1daffde00 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -87,6 +87,14 @@ execute the binding.  This timeout is defined by the tt(KEYTIMEOUT) parameter;
 its default is 0.4 sec.  There is no timeout if the prefix string is not
 itself bound to a command.
 
+The key timeout is also applied when ZLE is reading the bytes from a
+multibyte character string when it is in the appropriate mode.  (This
+requires that the shell was compiled with multibyte mode enabled; typically
+also the locale has characters with the UTF-8 encoding, although any
+multibyte encoding known to the operating system is supported.)  If the
+second or a subsequent byte is not read within the timeout period, the
+shell acts as if tt(?) were typed and resets the input state.
+
 As well as ZLE commands, key sequences can be bound to other strings, by using
 `tt(bindkey -s)'.
 When such a sequence is read, the replacement string is pushed back as input,