Files
qmltermwidget/lib
Yen Chi Hsuan 4ffd19203a Fix numpad handling and add entries for numpad 5
KP_Clear is mapped from numpad 5 on non-Apple keyboards according to Qt
doc [1]. It's mapped from KP_Begin from XKB on X11.

Tests: with numlock off,

numpad 5 => "\e[OE"
Ctrl + numpad 5 => "\e[1;5E"
Alt + numpad 5 => "\e[1;3E"
Shift + numpad 5 => "5"

These results are the same as VTE3 0.56.3. On xterm 346, Shift + numpad
5 generates "\eO2u". However, Qt returns 5 instead of KP_Clear if Shift
is hold even with numlock off, so implementing Shift + numpad 5 might be
rather complicated. As a side note, shifted keypad sequences can be
found in emacs sources [2].

Note that on Wayfire (wlroots-based Wayland compositor), numpad 5 with
numlock off generates an event without Qt::KeypadModifier. Further
investigation needed.

Ref: https://github.com/lxqt/qtermwidget/issues/117

[1] https://doc.qt.io/qt-5/qt.html#Key-enum
[2] https://github.com/emacs-mirror/emacs/blame/master/lisp/term/xterm.el
2019-07-15 22:38:35 +02:00
..
2019-04-13 15:49:15 +02:00
2010-10-25 16:34:14 +02:00
2019-04-13 15:49:15 +02:00
2010-10-01 15:54:31 +02:00
2010-10-01 15:54:31 +02:00
2019-04-13 15:49:15 +02:00
2010-10-01 15:54:31 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2010-10-01 16:08:52 +02:00
2010-10-01 15:54:31 +02:00
2019-04-13 15:49:15 +02:00
2019-06-21 12:44:08 +08:00
2019-06-21 12:44:08 +08:00
2019-04-13 15:49:15 +02:00
2018-02-28 10:49:41 +01:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2018-10-09 22:50:26 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2019-04-13 15:49:15 +02:00
2016-05-25 17:17:46 +03:00
2019-04-13 15:49:15 +02:00