* Weird behavior in interactive menu completion
@ 2021-08-28 19:34 Programmer
0 siblings, 0 replies; only message in thread
From: Programmer @ 2021-08-28 19:34 UTC (permalink / raw)
To: zsh-workers
Hello,
I have a question about unusual menuselect behavior in interactive menu
completion.
Steps to Reproduce:
zsh -f
zmodload zsh/complist
builtin zstyle ':completion:*' menu select=0 interactive
autoload -Uz compinit
compinit
% zs<tab;tab>;pwd
Move cursor to position. Press tab 2x to get into interactive menu
completion. Then press any arrow key.
Expected:
zsh;pwd after interactive menu completion selecting zsh
Actual:
Characters to right of cursor are discarded such as ';' in this
example. Exact amount that are discarded seems to be length of first
item in menuselect - prefix length.
For example, current line becomes zshpwd instead of zsh;pwd when
selecting zsh in menucompletion.
This does not occur with regular (noninteractive) menu completion.
Thanks,
Jacob
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-08-28 19:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28 19:34 Weird behavior in interactive menu completion Programmer
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).