aboutsummaryrefslogtreecommitdiff
path: root/termkey.c
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-02-23 19:22:28 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2008-02-23 19:22:28 +0000
commitefb04d3ee2919463ca6c935e387b04ab768b3d94 (patch)
tree3a2b00093b0ea817e7f2e470f12021283b502ba7 /termkey.c
parent0962ee4f85decab16bef85f467e79d163db9bbb3 (diff)
downloadtermo-efb04d3ee2919463ca6c935e387b04ab768b3d94.tar.gz
termo-efb04d3ee2919463ca6c935e387b04ab768b3d94.tar.xz
termo-efb04d3ee2919463ca6c935e387b04ab768b3d94.zip
Rearranged Home/End keys to better suit rxvt's naming, note 1/4 are now Find/Select
Diffstat (limited to 'termkey.c')
-rw-r--r--termkey.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/termkey.c b/termkey.c
index 2be6b8c..805f7af 100644
--- a/termkey.c
+++ b/termkey.c
@@ -153,12 +153,14 @@ termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime)
termkey_register_ss3kpalt(tk, TERMKEY_SYM_KP8, 'x', "KP8", '8');
termkey_register_ss3kpalt(tk, TERMKEY_SYM_KP9, 'y', "KP9", '9');
- termkey_register_csifunc(tk, TERMKEY_SYM_HOME, 1, "Home");
+ termkey_register_csifunc(tk, TERMKEY_SYM_FIND, 1, "Find");
termkey_register_csifunc(tk, TERMKEY_SYM_INSERT, 2, "Insert");
termkey_register_csifunc(tk, TERMKEY_SYM_DELETE, 3, "Delete");
- termkey_register_csifunc(tk, TERMKEY_SYM_END, 4, "End");
+ termkey_register_csifunc(tk, TERMKEY_SYM_SELECT, 4, "Select");
termkey_register_csifunc(tk, TERMKEY_SYM_PAGEUP, 5, "PageUp");
termkey_register_csifunc(tk, TERMKEY_SYM_PAGEDOWN, 6, "PageDown");
+ termkey_register_csifunc(tk, TERMKEY_SYM_HOME, 7, "Home");
+ termkey_register_csifunc(tk, TERMKEY_SYM_END, 8, "End");
termkey_register_csifunc(tk, TERMKEY_SYM_F1, 11, "F1");
termkey_register_csifunc(tk, TERMKEY_SYM_F2, 12, "F2");
termkey_register_csifunc(tk, TERMKEY_SYM_F3, 13, "F3");