zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] Zsh crashes when reverse-menu-complete is invoked during complist MENUSELECT without 'menu:' in $compstate[insert]
@ 2021-05-27  8:20 Marlon Richert
  2021-05-29 23:38 ` Oliver Kiddle
  0 siblings, 1 reply; 2+ messages in thread
From: Marlon Richert @ 2021-05-27  8:20 UTC (permalink / raw)
  To: Zsh hackers list

Given:
  * complist's MENUSELECT mode is active
  * $compstate[insert] does not start with 'menu:'
When:
  * The user activates reverse-menu-complete.
Then:
  * Zsh crashes.

Expected behavior:
  * Move to the previous completion in the menu.

Steps to reproduce:
% zmodload zsh/complist
% tst() { compadd bar baz; compstate[insert]=1 }
% zle -C tst menu-select tst
% bindkey '^I' tst
% bindkey -M menuselect '^[[Z' reverse-menu-complete
% ba^I^[[Z


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-05-29 23:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27  8:20 [BUG] Zsh crashes when reverse-menu-complete is invoked during complist MENUSELECT without 'menu:' in $compstate[insert] Marlon Richert
2021-05-29 23:38 ` Oliver Kiddle

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).