Tidying up
This commit is contained in:
parent
6b63ea5d40
commit
16877a5f4b
19
bterm.h
19
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"},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user