Make the keypad "5" key send "\E[E" when NumLock is off

Summary:
When NumLock is off the keypad "5" key should send '\E[E' sequence; this
matches xterm behaviour.

BUG: 189116

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D11958
This commit is contained in:
Ahmad Samir
2018-04-05 18:03:09 -04:00
committed by Kurt Hindenburg
parent e2aff3645d
commit 2037c36a64

View File

@@ -113,6 +113,10 @@ key Delete +KeyPad : "\E[3~"
key PgUp -Shift+KeyPad : "\E[5~"
key PgDown -Shift+KeyPad : "\E[6~"
# the key labelled 5 on the Keypad, is Qt::Key_Clear (a very intuitive
# and discoverable name...)
key Clear +KeyPad : "\E[E"
# other grey PC keys
key Enter+NewLine : "\r\n"