zsh-workers
 help / color / mirror / code / Atom feed
From: Programmer <linux.dev25@gmail.com>
To: zsh-workers@zsh.org
Subject: Weird behavior in interactive menu completion
Date: Sat, 28 Aug 2021 15:34:46 -0400	[thread overview]
Message-ID: <2588d00e-dcdb-c975-a91e-c933e2d23791@gmail.com> (raw)

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




                 reply	other threads:[~2021-08-28 19:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2588d00e-dcdb-c975-a91e-c933e2d23791@gmail.com \
    --to=linux.dev25@gmail.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).