summaryrefslogtreecommitdiffstats
path: root/input-keys.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-12 07:04:24 +0000
committernicm <nicm>2017-06-12 07:04:24 +0000
commit8037159f937def4bb71dbfb8d664a96de794014f (patch)
treeaf92955555dbdf03f4983f50eb4fe48381c3172a /input-keys.c
parentadcd5aff6fb86036ef736c10b04005da77a465f6 (diff)
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.c4
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 },