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

@ -165,6 +165,10 @@ static const struct tty_default_key_raw tty_default_raw_keys[] = {
/* Focus tracking. */
{ "\033[I", KEYC_FOCUS_IN },
{ "\033[O", KEYC_FOCUS_OUT },
/* Paste keys. */
{ "\033[200~", KEYC_PASTE_START },
{ "\033[201~", KEYC_PASTE_END },
};
/* Default terminfo(5) keys. */