about summary refs log tree commit diff
path: root/Doc/Zsh/zle.yo
diff options
context:
space:
mode:
authorBart Schaefer <barts@users.sourceforge.net>2000-05-10 10:31:16 +0000
committerBart Schaefer <barts@users.sourceforge.net>2000-05-10 10:31:16 +0000
commitf1286d2fae17b15baf8e2ef8b0537ce89fb4f2e7 (patch)
tree9bc9d62b73c4f545e5f1dcbc1d4b080da934562a /Doc/Zsh/zle.yo
parent0f7d06b4e544461c109c81eb7cc8c4822fac09aa (diff)
downloadzsh-f1286d2fae17b15baf8e2ef8b0537ce89fb4f2e7.tar.gz
zsh-f1286d2fae17b15baf8e2ef8b0537ce89fb4f2e7.tar.xz
zsh-f1286d2fae17b15baf8e2ef8b0537ce89fb4f2e7.zip
11297: Document that ZLE closes standard input of user-defined widget funcs.
Diffstat (limited to 'Doc/Zsh/zle.yo')
-rw-r--r--Doc/Zsh/zle.yo6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/Zsh/zle.yo b/Doc/Zsh/zle.yo
index 31eb4dec9..49c8f8e88 100644
--- a/Doc/Zsh/zle.yo
+++ b/Doc/Zsh/zle.yo
@@ -104,8 +104,10 @@ cindex(widgets, user-defined)
 User-defined widgets, being implemented as shell functions,
 can execute any normal shell command.  They can also run other widgets
 (whether built-in or user-defined) using the tt(zle) builtin command.
-They can use tt(read -k) or tt(read -q) to read characters from standard
-input.  Finally, they can examine and edit the ZLE buffer being edited by
+The standard input of the function is closed to prevent external commands
+from unintentionally blocking ZLE by reading from the terminal, but
+tt(read -k) or tt(read -q) can be used to read characters.  Finally,
+they can examine and edit the ZLE buffer being edited by
 reading and setting the special parameters described below.
 
 cindex(parameters, editor)