zsh-workers
 help / color / mirror / code / Atom feed
* [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

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).