From f12df3b5a03dcb9b33bb1e3796b8402e8c125435 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Wed, 8 Sep 2021 09:24:11 +0200 Subject: [PATCH] Add support for keypad `=' key in xterm.el * lisp/term/xterm.el (xterm-function-map): Add support for keypad = key (bug#16645). --- lisp/term/xterm.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/term/xterm.el b/lisp/term/xterm.el index de5f000089a..95187d5d117 100644 --- a/lisp/term/xterm.el +++ b/lisp/term/xterm.el @@ -394,6 +394,9 @@ Return the pasted text as a string." (define-key map "\eOx" [kp-8]) (define-key map "\eOy" [kp-9]) + ;; Some keypads have an equal key (for instance, most Apple keypads). + (define-key map "\eOX" [kp-equal]) + (define-key map "\eO2j" [S-kp-multiply]) (define-key map "\eO2k" [S-kp-add]) (define-key map "\eO2l" [S-kp-separator]) -- 2.39.2