zsh-workers
 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

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

zsh-workers

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 \
		zsh-workers@zsh.org
	public-inbox-index zsh-workers

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.workers


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

	https://git.vuxu.org/mirror/zsh/

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