diff options
Diffstat (limited to '')
-rw-r--r-- | interactive-test.c | 1 | ||||
-rw-r--r-- | libterminput.c | 1 | ||||
-rw-r--r-- | libterminput.h | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/interactive-test.c b/interactive-test.c index a1101e4..2da5ae8 100644 --- a/interactive-test.c +++ b/interactive-test.c @@ -41,7 +41,6 @@ main(void) case LIBTERMINPUT_DOWN: printf("\t%s: %s\n", "key", "down"); break; case LIBTERMINPUT_RIGHT: printf("\t%s: %s\n", "key", "right"); break; case LIBTERMINPUT_BEGIN: printf("\t%s: %s\n", "key", "begin"); break; - case LIBTERMINPUT_MACRO: printf("\t%s: %s\n", "key", "macro"); break; case LIBTERMINPUT_TAB: printf("\t%s: %s\n", "key", "tab"); break; case LIBTERMINPUT_F1: printf("\t%s: %s\n", "key", "f1"); break; case LIBTERMINPUT_F2: printf("\t%s: %s\n", "key", "f2"); break; diff --git a/libterminput.c b/libterminput.c index 8fb1fb6..2068aaf 100644 --- a/libterminput.c +++ b/libterminput.c @@ -184,7 +184,6 @@ parse_sequence(union libterminput_input *input, struct libterminput_state *ctx) case 'F': input->keypress.key = LIBTERMINPUT_END; break; case 'G': input->keypress.key = LIBTERMINPUT_BEGIN; break; case 'H': input->keypress.key = LIBTERMINPUT_HOME; break; - case 'M': input->keypress.key = LIBTERMINPUT_MACRO; break; case 'P': input->keypress.key = LIBTERMINPUT_F1; break; case 'Q': input->keypress.key = LIBTERMINPUT_F2; break; case 'R': input->keypress.key = LIBTERMINPUT_F3; break; diff --git a/libterminput.h b/libterminput.h index f2f0374..313fd72 100644 --- a/libterminput.h +++ b/libterminput.h @@ -18,7 +18,6 @@ enum libterminput_key { LIBTERMINPUT_RIGHT, LIBTERMINPUT_LEFT, LIBTERMINPUT_BEGIN, /* keypad 5 without numlock */ - LIBTERMINPUT_MACRO, LIBTERMINPUT_TAB, /* backtab if with shift */ LIBTERMINPUT_F1, LIBTERMINPUT_F2, |