aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--termkey.c6
-rw-r--r--termkey.h6
2 files changed, 8 insertions, 4 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");
diff --git a/termkey.h b/termkey.h
index 629c79c..5479f2b 100644
--- a/termkey.h
+++ b/termkey.h
@@ -26,12 +26,14 @@ typedef enum {
TERMKEY_SYM_BEGIN,
// CSI function keys
+ TERMKEY_SYM_FIND,
TERMKEY_SYM_INSERT,
TERMKEY_SYM_DELETE,
- TERMKEY_SYM_HOME,
- TERMKEY_SYM_END,
+ TERMKEY_SYM_SELECT,
TERMKEY_SYM_PAGEUP,
TERMKEY_SYM_PAGEDOWN,
+ TERMKEY_SYM_HOME,
+ TERMKEY_SYM_END,
TERMKEY_SYM_F1,
TERMKEY_SYM_F2,