Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Weird behavior in interactive menu completion
- X-seq: zsh-workers 49326
- From: Programmer <linux.dev25@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Weird behavior in interactive menu completion
- Date: Sat, 28 Aug 2021 15:34:46 -0400
- Archived-at: <https://zsh.org/workers/49326>
- List-id: <zsh-workers.zsh.org>
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author