summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--Doc/Zsh/mod_sched.yo5
2 files changed, 8 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 17e0dd00f..88a508268 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2016-09-12 Barton E. Schaefer <schaefer@zsh.org>
+ * unposted: Doc/Zsh/mod_sched.yo: reference use of widgets to
+ effect editor changes from a sched command
+
* 39297: Doc/Zsh/compsys.yo: more of 39284, it's painful to add
texi nodes in yodl
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)'.