zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] `bindkey -M menuselect '^M' send-break` doesn't do what it says in the manual
@ 2021-08-16 13:26 Marlon Richert
  2021-08-26 10:29 ` Oliver Kiddle
  0 siblings, 1 reply; 3+ messages in thread
From: Marlon Richert @ 2021-08-16 13:26 UTC (permalink / raw)
  To: Zsh hackers list

According to `man 1 zshmodules`:

>      send-break
>             leaves menu selection and restores the previous contents of  the
>             command line
>
>      [...] For example, to make the return key  leave
>      menu selection without accepting the match currently selected one could
>      call
>             bindkey -M menuselect '^M' send-break
>
>      after loading the zsh/complist module.

However, while using send-break during menu selection does exit the
completion menu, it does _not_ restore the previous contents of the
command line and in fact leaves the current selection in place.


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

end of thread, other threads:[~2021-08-27 14:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 13:26 [BUG] `bindkey -M menuselect '^M' send-break` doesn't do what it says in the manual Marlon Richert
2021-08-26 10:29 ` Oliver Kiddle
2021-08-27 14:34   ` Marlon Richert

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