diff options
Diffstat (limited to 'usr.bin/tmux/key-string.c')
-rw-r--r-- | usr.bin/tmux/key-string.c | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/usr.bin/tmux/key-string.c b/usr.bin/tmux/key-string.c index cba6bb09755..bde8bfc507d 100644 --- a/usr.bin/tmux/key-string.c +++ b/usr.bin/tmux/key-string.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-string.c,v 1.8 2009/10/06 07:32:26 nicm Exp $ */ +/* $OpenBSD: key-string.c,v 1.9 2009/10/26 13:13:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -69,22 +69,22 @@ struct { { "Right", KEYC_RIGHT }, /* Numeric keypad. */ - { "KP/", KEYC_KP0_1 }, - { "KP*", KEYC_KP0_2 }, - { "KP-", KEYC_KP0_3 }, - { "KP7", KEYC_KP1_0 }, - { "KP8", KEYC_KP1_1 }, - { "KP9", KEYC_KP1_2 }, - { "KP+", KEYC_KP1_3 }, - { "KP4", KEYC_KP2_0 }, - { "KP5", KEYC_KP2_1 }, - { "KP6", KEYC_KP2_2 }, - { "KP1", KEYC_KP3_0 }, - { "KP2", KEYC_KP3_1 }, - { "KP3", KEYC_KP3_2 }, - { "KPEnter", KEYC_KP3_3 }, - { "KP0", KEYC_KP4_0 }, - { "KP.", KEYC_KP4_2 }, + { "KP/", KEYC_KP_SLASH }, + { "KP*", KEYC_KP_STAR }, + { "KP-", KEYC_KP_MINUS }, + { "KP7", KEYC_KP_SEVEN }, + { "KP8", KEYC_KP_EIGHT }, + { "KP9", KEYC_KP_NINE }, + { "KP+", KEYC_KP_PLUS }, + { "KP4", KEYC_KP_FOUR }, + { "KP5", KEYC_KP_FIVE }, + { "KP6", KEYC_KP_SIX }, + { "KP1", KEYC_KP_ONE }, + { "KP2", KEYC_KP_TWO }, + { "KP3", KEYC_KP_THREE }, + { "KPEnter", KEYC_KP_ENTER }, + { "KP0", KEYC_KP_ZERO }, + { "KP.", KEYC_KP_PERIOD }, }; int |