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 /input-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 'input-keys.c')
-rw-r--r-- | input-keys.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/input-keys.c b/input-keys.c index 01b00b05..c0314db4 100644 --- a/input-keys.c +++ b/input-keys.c @@ -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 }, |