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



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