On Mon, Sep 27, 2021 at 12:48:11PM -0400, Mark H. Wood wrote:
> I wanted to bind the Enter key on the numeric pad so that it works the
> same way as the Enter on the main key grid.  I entered ":exec
> what-key", hit pad-Enter, and was told that it is "Char = <F79>, Octal
> = 527, Decimal = 343".  So I entered ":bind generic <F79>
> select-entry", got no error back, but pressing pad-Enter still results
> in "Key is not bound.  Press '?' for help."
> 
> What am I missing?

Both the pad enter key and the main enter key yield for me an identical:

  Char = <Return>, Octal = 15, Decimal = 13

on German standard keyboard layout. Why do these yield different chars for you?
What keyboard layout are you using that it sends different keycodes for both
enter keys, and what terminal emulator with which terminfo are you using? To my
knowledge, all that can affect what a TUI application is seeing when you press a
key.

If your keyboard layout does not have both enter and pad enter bound to <Return>
to begin with, perhaps that would be the most straightforward way to go?

Reply via email to