Add explicit keys for the bracketed paste sequences, both to avoid mix

ups with other keys and to make logs clearer.
This commit is contained in:
nicm
2017-06-12 07:04:24 +00:00
parent adcd5aff6f
commit 8037159f93
4 changed files with 16 additions and 0 deletions

View File

@ -46,6 +46,10 @@ static const struct input_key_ent input_keys[] = {
/* Backspace key. */
{ KEYC_BSPACE, "\177", 0 },
/* Paste keys. */
{ KEYC_PASTE_START, "\033[200~", 0 },
{ KEYC_PASTE_END, "\033[201~", 0 },
/* Function keys. */
{ KEYC_F1, "\033OP", 0 },
{ KEYC_F2, "\033OQ", 0 },