diff --git a/bterm.h b/bterm.h index 9cb4984..deab9da 100644 --- a/bterm.h +++ b/bterm.h @@ -116,10 +116,8 @@ static keyname_t key_names[] = { {KEY_DELETE, "Delete"}, {KEY_HOME, "Home"}, {KEY_END, "End"}, - {KEY_PGUP, "PgUp"}, - {KEY_PGUP, "Page Up"}, - {KEY_PGDN, "PgDn"}, - {KEY_PGDN, "Page Down"}, + {KEY_PGUP, "PgUp"}, {KEY_PGUP, "Page Up"}, + {KEY_PGDN, "PgDn"}, {KEY_PGDN, "Page Down"}, {KEY_ARROW_UP, "Up"}, {KEY_ARROW_DOWN, "Down"}, {KEY_ARROW_LEFT, "Left"}, @@ -143,16 +141,11 @@ static keyname_t key_names[] = { {KEY_CTRL_W, "Ctrl-w"}, {KEY_CTRL_X, "Ctrl-x"}, {KEY_CTRL_Y, "Ctrl-y"}, {KEY_CTRL_Z, "Ctrl-z"}, {KEY_ESC, "Esc"}, {KEY_ESC, "Escape"}, - {KEY_CTRL_TILDE, "Ctrl-~"}, - {KEY_CTRL_TILDE, "Ctrl-2"}, - {KEY_CTRL_BACKSLASH, "Ctrl-\\"}, - {KEY_CTRL_BACKSLASH, "Ctrl-4"}, - {KEY_CTRL_RSQ_BRACKET, "Ctrl-]"}, - {KEY_CTRL_RSQ_BRACKET, "Ctrl-5"}, + {KEY_CTRL_TILDE, "Ctrl-~"}, {KEY_CTRL_TILDE, "Ctrl-2"}, + {KEY_CTRL_BACKSLASH, "Ctrl-\\"}, {KEY_CTRL_BACKSLASH, "Ctrl-4"}, + {KEY_CTRL_RSQ_BRACKET, "Ctrl-]"}, {KEY_CTRL_RSQ_BRACKET, "Ctrl-5"}, {KEY_CTRL_6, "Ctrl-6"}, - {KEY_CTRL_SLASH, "Ctrl-_"}, - {KEY_CTRL_SLASH, "Ctrl-/"}, - {KEY_CTRL_SLASH, "Ctrl-7"}, + {KEY_CTRL_SLASH, "Ctrl-_"}, {KEY_CTRL_SLASH, "Ctrl-/"}, {KEY_CTRL_SLASH, "Ctrl-7"}, {KEY_SPACE, "Space"}, {KEY_BACKSPACE2, "Backspace"}, };