* [BUG] zle reset-prompt clears complist menu when not initiated by the user
@ 2021-08-03 14:15 Marlon Richert
2021-08-03 15:58 ` Roman Perepelitsa
0 siblings, 1 reply; 2+ messages in thread
From: Marlon Richert @ 2021-08-03 14:15 UTC (permalink / raw)
To: Zsh hackers list
For example:
% trap 'RPS1=$SECONDS; zle reset-prompt' ALRM
% TMOUT=1
% zmodload zsh/complist
% bindkey '^I' menu-select
% cd /<TAB>
The complist menu will appear, but then again disappear when the
prompt updates, leaving only the currently selected item visible.
This also happens when zle reset-prompt is called from a zle -F handler.
zle redisplay has the same problem, too.
On the other hand, if we bind reset-prompt to a key and press it while
the complist menu is active, this works just fine.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [BUG] zle reset-prompt clears complist menu when not initiated by the user
2021-08-03 14:15 [BUG] zle reset-prompt clears complist menu when not initiated by the user Marlon Richert
@ 2021-08-03 15:58 ` Roman Perepelitsa
0 siblings, 0 replies; 2+ messages in thread
From: Roman Perepelitsa @ 2021-08-03 15:58 UTC (permalink / raw)
To: Marlon Richert; +Cc: Zsh hackers list
[-- Attachment #1: Type: text/plain, Size: 300 bytes --]
On Tue, 3 Aug 2021 at 16:16, Marlon Richert <marlon.richert@gmail.com>
wrote:
> The complist menu will appear, but then again disappear when the
> prompt updates, leaving only the currently selected item visible.
Past report of this bug:
https://www.zsh.org/mla/workers/2019/msg00161.html
Roman.
[-- Attachment #2: Type: text/html, Size: 762 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-03 15:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 14:15 [BUG] zle reset-prompt clears complist menu when not initiated by the user Marlon Richert
2021-08-03 15:58 ` Roman Perepelitsa
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).