From: Roman Perepelitsa <roman.perepelitsa@gmail.com>
To: zsh-workers@zsh.org
Subject: Completion menu options disappear on zle-reset-prompt
Date: Thu, 14 Mar 2019 11:40:30 +0100 [thread overview]
Message-ID: <CAN=4vMrYmSPPnszOMMkkSZ8wRiobs05WRwHq91-rBJu9WYqEbA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 759 bytes --]
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: image.png]
Actual behavior:
[image: 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.
[-- Attachment #1.2: Type: text/html, Size: 5383 bytes --]
[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 9633 bytes --]
[-- Attachment #3: image.png --]
[-- Type: image/png, Size: 2745 bytes --]
next reply other threads:[~2019-03-14 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-14 10:40 Roman Perepelitsa [this message]
2019-03-16 11:58 ` Roman Perepelitsa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAN=4vMrYmSPPnszOMMkkSZ8wRiobs05WRwHq91-rBJu9WYqEbA@mail.gmail.com' \
--to=roman.perepelitsa@gmail.com \
--cc=zsh-workers@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).