diff options
author | Barton E. Schaefer <schaefer@zsh.org> | 2016-09-12 09:52:23 -0700 |
---|---|---|
committer | Barton E. Schaefer <schaefer@zsh.org> | 2016-09-12 09:52:23 -0700 |
commit | 43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6 (patch) | |
tree | 28f1f4ff872acad00a2421cc5de30823cd05d7c6 | |
parent | 5456cab86f3720109e3f47915267ed43dc511271 (diff) | |
download | zsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.tar.gz zsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.tar.xz zsh-43137b8e8f9ce8a3c9d6b0cd530102813fc6b5a6.zip |
unposted: reference use of widgets to effect editor changes from a sched command
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | Doc/Zsh/mod_sched.yo | 5 |
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)'. |