1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-10 12:40:58 +02:00

users/26088: docs: zle -R: Clarify that it needs not be called in the normal course of things, but only when an immediate, interim redisplay is desired.

This commit is contained in:
Daniel Shahaf 2020-09-26 10:24:09 +00:00
parent 59a451abae
commit 00d20ed15e
2 changed files with 10 additions and 5 deletions

View file

@ -1,3 +1,9 @@
2020-10-03 Daniel Shahaf <d.s@daniel.shahaf.name>
* users/26088: Doc/Zsh/zle.yo: docs: zle -R: Clarify that it
needs not be called in the normal course of things, but only
when an immediate, interim redisplay is desired.
2020-09-23 Meng Bo <mengbo@lnu.edu.cn> 2020-09-23 Meng Bo <mengbo@lnu.edu.cn>
* github #65: Completion/Unix/Command/_nmap: Rename option flags * github #65: Completion/Unix/Command/_nmap: Rename option flags

View file

@ -501,8 +501,7 @@ ifnzman(noderef(Completion Widgets))\
. .
) )
item(tt(-R) [ tt(-c) ] [ var(display-string) ] [ var(string) ... ])( item(tt(-R) [ tt(-c) ] [ var(display-string) ] [ var(string) ... ])(
Redisplay the command line; this is to be called from within a user-defined Redisplay the command line. If a var(display-string) is
widget to allow changes to become visible. If a var(display-string) is
given and not empty, this is shown in the status line (immediately given and not empty, this is shown in the status line (immediately
below the line being edited). below the line being edited).
@ -511,9 +510,9 @@ prompt in the same way as completion lists are printed. If no
var(string)s are given but the tt(-c) option is used such a list is var(string)s are given but the tt(-c) option is used such a list is
cleared. cleared.
Note that this option is only useful for widgets that do not exit Note that immediately after returning from running widgets, the command line
immediately after using it because the strings displayed will be erased will be redisplayed and the strings displayed will be erased. Therefore, this
immediately after return from the widget. option is only useful for widgets that do not exit immediately after using it.
This command can safely be called outside user defined widgets; if zle is This command can safely be called outside user defined widgets; if zle is
active, the display will be refreshed, while if zle is not active, the active, the display will be refreshed, while if zle is not active, the