Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Another completion-time screen refresh bug



With this style:
zstyle ':completion:*' completer _all_matches _complete _match _approximate

If, in the zsh source tree, I type:

schaefer<528> rm <TAB>

I get the following output, with the cursor on the SECOND line:

schaefer<528> rm  
Completing filrm
Src/                  LICENCE               Doc/                
ChangeLog             CVS/                  Misc/               
Completion/           config.sub*           Functions/          
stamp-h.in            config.guess*         StartupFiles/       
configure*            INSTALL               ChangeLog-3.1       
autom4te-2.53.cache/  Makefile.in           ChangeLog.3.0       
configure.ac          README                mkinstalldirs*      
Util/                 config.h.in           install-sh*         
Test/                 config.h.in\~         aclocal.m4          
Etc/                  aczsh.m4                                  
Config/               META-FAQ                                  
Completing all matches
Src ChangeLog Completion stamp-h.in configure autom4te-2.53.cache configure. ...


Note that the final line there after "Completing all matches" is exactly as
wide as the terminal.  The line editor obviously has missed that the cursor
wrapped to the next line at that point, and didn't emit enough "up" motions.
(There is only one line after "Completing all matches", beware of your mail
program displaying it wrapped.)



Messages sorted by: Reverse Date, Date, Thread, Author