Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
[BUG] `bindkey -M menuselect '^M' send-break` doesn't do what it says in the manual
- X-seq: zsh-workers 49285
- From: Marlon Richert <marlon.richert@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: [BUG] `bindkey -M menuselect '^M' send-break` doesn't do what it says in the manual
- Date: Mon, 16 Aug 2021 16:26:56 +0300
- Archived-at: <https://zsh.org/workers/49285>
- List-id: <zsh-workers.zsh.org>
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.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author