diff options
author | nicm <nicm> | 2017-06-12 07:04:24 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-06-12 07:04:24 +0000 |
commit | 8037159f937def4bb71dbfb8d664a96de794014f (patch) | |
tree | af92955555dbdf03f4983f50eb4fe48381c3172a /tty-keys.c | |
parent | adcd5aff6fb86036ef736c10b04005da77a465f6 (diff) | |
download | rtmux-8037159f937def4bb71dbfb8d664a96de794014f.tar.gz rtmux-8037159f937def4bb71dbfb8d664a96de794014f.tar.bz2 rtmux-8037159f937def4bb71dbfb8d664a96de794014f.zip |
Add explicit keys for the bracketed paste sequences, both to avoid mix
ups with other keys and to make logs clearer.
Diffstat (limited to 'tty-keys.c')
-rw-r--r-- | tty-keys.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. */ |