diff options
author | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-11 08:40:09 +0000 |
---|---|---|
committer | Sven Wischnowsky <wischnow@users.sourceforge.net> | 2000-05-11 08:40:09 +0000 |
commit | d3620a02dfad71562320a90315175855b44ed4de (patch) | |
tree | a664abfb6e766b8c6a87f76b3c42e6221372506f /Doc/Zsh | |
parent | ed8b82b9b1bf74392caf4f4683f367bc4cbbd193 (diff) | |
download | zsh-d3620a02dfad71562320a90315175855b44ed4de.tar.gz zsh-d3620a02dfad71562320a90315175855b44ed4de.tar.xz zsh-d3620a02dfad71562320a90315175855b44ed4de.zip |
make ^G in menu-selection restore the old command line; add select=long* values for menu style to start menu-selection if list is too long for screen (11319)
Diffstat (limited to 'Doc/Zsh')
-rw-r--r-- | Doc/Zsh/compsys.yo | 7 | ||||
-rw-r--r-- | Doc/Zsh/mod_complist.yo | 3 |
2 files changed, 9 insertions, 1 deletions
diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 395121f31..4c7e6dd6b 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -1498,6 +1498,13 @@ it will be started only if at least that many matches are generated smallest one is taken). Starting menuselection can explicitly be turned off by defining a value containing the string `tt(no-select)'. + +There is also support to start menu-selection only when the list of +matches does not fit on the screen, turned on by using the string +`tt(select=long)' in the value. However, this will only start +menu-selection if the widget invoked does completion and not only +listing (like tt(delete-char-or-list)). To start menu-selection even +for such widgets one can include the string `tt(select=long-list)'. ) kindex(numbers, completion style) item(tt(numbers))( diff --git a/Doc/Zsh/mod_complist.yo b/Doc/Zsh/mod_complist.yo index 5dd84310d..41e12196e 100644 --- a/Doc/Zsh/mod_complist.yo +++ b/Doc/Zsh/mod_complist.yo @@ -253,7 +253,8 @@ item(tt(accept-line))( accepts the current match and leaves menu selection ) item(tt(send-break))( -leaves menu selection and continues with normal menu completion +leaves menu selection and restores the previous contents of the +command line ) item(tt(redisplay), tt(clear-screen))( execute their normal function without leaving menu selection |