summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-06-12 07:04:24 +0000
committernicm <nicm@openbsd.org>2017-06-12 07:04:24 +0000
commitb99601f2dced7d10b8de3e0b83ee41806582ae89 (patch)
treed46d3951b43a95b44c6e56e167493108ad4c248b /usr.bin/tmux/tmux.h
parenttypo; from bryan vyhmeister (diff)
downloadwireguard-openbsd-b99601f2dced7d10b8de3e0b83ee41806582ae89.tar.xz
wireguard-openbsd-b99601f2dced7d10b8de3e0b83ee41806582ae89.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 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index dacca80a120..77a961a82be 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.785 2017/06/09 16:01:39 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.786 2017/06/12 07:04:24 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -127,6 +127,10 @@ enum {
KEYC_FOCUS_IN = KEYC_BASE,
KEYC_FOCUS_OUT,
+ /* Paste brackets. */
+ KEYC_PASTE_START,
+ KEYC_PASTE_END,
+
/* Mouse keys. */
KEYC_MOUSE, /* unclassified mouse event */
KEYC_DRAGGING, /* dragging in progress */