summaryrefslogtreecommitdiff
path: root/src/bin/keyin.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2014-10-05 22:59:22 +0200
committerBoris Faure <billiob@gmail.com>2014-10-05 23:07:58 +0200
commitfe8b3b9b64b9a19112f006d38e191b5a06edd3e1 (patch)
treeac1dee901bbcd7f9076f18a776911c244e5a5f9a /src/bin/keyin.c
parent1c19b6c0197ca682c67c6ecb0e47f2c713784087 (diff)
fix issue with keypad keys (bad copy/paste)
Diffstat (limited to 'src/bin/keyin.c')
-rw-r--r--src/bin/keyin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/keyin.c b/src/bin/keyin.c
index 5e79ef2..b706a42 100644
--- a/src/bin/keyin.c
+++ b/src/bin/keyin.c
@@ -162,14 +162,14 @@ _handle_key_to_pty(Termpty *ty, const Evas_Event_Key_Down *ev,
162 { 162 {
163 if (ty->state.alt_kp) 163 if (ty->state.alt_kp)
164 { 164 {
165 if (_key_try(ty, tty_keys, 165 if (_key_try(ty, tty_keys_kp_app,
166 sizeof(tty_keys_kp_app)/sizeof(tty_keys_kp_app[0]), 166 sizeof(tty_keys_kp_app)/sizeof(tty_keys_kp_app[0]),
167 ev, alt, shift, ctrl)) 167 ev, alt, shift, ctrl))
168 return; 168 return;
169 } 169 }
170 else 170 else
171 { 171 {
172 if (_key_try(ty, tty_keys, 172 if (_key_try(ty, tty_keys_kp_plain,
173 sizeof(tty_keys_kp_plain)/sizeof(tty_keys_kp_plain[0]), 173 sizeof(tty_keys_kp_plain)/sizeof(tty_keys_kp_plain[0]),
174 ev, alt, shift, ctrl)) 174 ev, alt, shift, ctrl))
175 return; 175 return;