help / color / mirror / Atom feed
* 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


I have a question about unusual menuselect behavior in interactive menu 

Steps to Reproduce:

zsh -f
zmodload zsh/complist
builtin zstyle ':completion:*' menu select=0 interactive

autoload -Uz compinit

% zs<tab;tab>;pwd

Move cursor to position.  Press tab 2x to get into interactive menu 
completion.  Then press any arrow key.


zsh;pwd after interactive menu completion selecting zsh


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.



^ 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


This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/zsh-workers

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-workers zsh-workers/ https://inbox.vuxu.org/zsh-workers \
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:

code repositories for the project(s) associated with this inbox:


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git