Now it covers all number keys on the numerical keypad under Gnome Terminal
with NumLock off, both with Shift and without. Works correctly on my machine.
I'm aware this package is not the right place to fix faulty terminfo databases, curses versions, terminal emulators and their interactions thereof. Still, this little patch makes the game Allure run without problems in Gnome Terminal and there is a justified hope this hack will also help others (see #9 for discussion).
Now it covers all number keys on the numerical keypad under Gnome Terminal with NumLock off, both with Shift and without. Works correctly on my machine.
I'm aware this package is not the right place to fix faulty terminfo databases, curses versions, terminal emulators and their interactions thereof. Still, this little patch makes the game Allure run without problems in Gnome Terminal and there is a justified hope this hack will also help others (see #9 for discussion).
The commit mostly mimics this one:
https://github.com/coreyoconnor/vty/commit/93b8f8e64c0c027b817dfa96959f02976390fc53
and the data was taken from here
http://audit.sourcearchive.com/documentation/1.7.13/tty__named__keys_8h-source.html
and there
http://www.geocities.jp/sakachin2/xehelp/html/HID00000579.htm