about summary refs log tree commit diff
path: root/Doc/Zsh/mod_sched.yo
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-09-12 09:52:23 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-09-12 09:52:23 -0700
commit43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6 (patch)
tree28f1f4ff872acad00a2421cc5de30823cd05d7c6 /Doc/Zsh/mod_sched.yo
parent5456cab86f3720109e3f47915267ed43dc511271 (diff)
downloadzsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.tar.gz
zsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.tar.xz
zsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.zip
unposted: reference use of widgets to effect editor changes from a sched command
Diffstat (limited to 'Doc/Zsh/mod_sched.yo')
-rw-r--r--Doc/Zsh/mod_sched.yo5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/Zsh/mod_sched.yo b/Doc/Zsh/mod_sched.yo
index 1350b9e4c..30b08a3ff 100644
--- a/Doc/Zsh/mod_sched.yo
+++ b/Doc/Zsh/mod_sched.yo
@@ -40,6 +40,11 @@ afterwards.  This should be used with any scheduled event that produces
 visible output to the terminal; it is not needed, for example, with
 output that updates a terminal emulator's title bar.
 
+To effect changes to the editor buffer when an event executes, use the
+`tt(zle)' command with no arguments to test whether the editor is active,
+and if it is, then use `tt(zle )var(widget)' to access the editor via
+the named var(widget).
+
 The tt(sched) builtin is not made available by default when the shell
 starts in a mode emulating another shell.  It can be made available
 with the command `tt(zmodload -F zsh/sched b:sched)'.