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

Completion menu options disappear on zle-reset-prompt



How to reproduce:

  1. Run zsh -df to get a clean zsh environment.
  2. Type the following into the terminal.

     zstyle ':completion:*' menu yes select
     autoload -Uz compinit && compinit
    
     TRAPALRM() { zle .reset-prompt }
     TMOUT=1
    
  3. Type ls<tab> and wait for 1 second.

Expected behavior:
image.png

Actual behavior:
image.png

If you keep pressing tab, you’ll cycle through all options as usual. However, when TMOUT triggers, all options other than the selected one become invisible.

System info:

adam% uname -a
Linux adam 4.15.0-46-generic #49-Ubuntu SMP Wed Feb 6 09:33:07 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
adam% zsh --version
zsh 5.4.2 (x86_64-ubuntu-linux-gnu)

Roman.



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