IngoMeyer441 / simple-term-menu

A Python package which creates simple interactive menus on the command line.
MIT License
492 stars 43 forks source link

Add Emacs keys #60

Closed japanoise closed 1 year ago

japanoise commented 2 years ago

I notice you already use Ctrl-a for Home and Ctrl-e for End, which is expected behavior in Emacs-like editors. Ctrl-p for previous and Ctrl-n for next are in the same family (try them on the shell!), as is Ctrl-g for cancel. This would make it behave as expected for those of us used to these bindings.

IngoMeyer441 commented 1 year ago

Thanks for your PR! Sorry for the waiting time, I have been quite inactive on GH for the last weeks.

IngoMeyer441 commented 1 year ago

v1.5.2 will be released in a few minutes including your patch. :+1: