Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] zle reset-prompt clears complist menu when not initiated by the user
- X-seq: zsh-workers 49232
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] zle reset-prompt clears complist menu when not initiated by the user
- Date: Tue, 3 Aug 2021 17:15:15 +0300
- Archived-at: <https://zsh.org/workers/49232>
- List-id: <zsh-workers.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author