aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2016-03-18 07:28:27 +0000
committernicm <nicm>2016-03-18 07:28:27 +0000
commitfa97b0a95b804fec86b03d35d16c270d2866ebd6 (patch)
tree9502ac3e0816167e912a8ad19fe826c7af15897e /tmux.h
parent0d6de44a37755f0e5046c04e19e4506a6d59e750 (diff)
downloadrtmux-fa97b0a95b804fec86b03d35d16c270d2866ebd6.tar.gz
rtmux-fa97b0a95b804fec86b03d35d16c270d2866ebd6.tar.bz2
rtmux-fa97b0a95b804fec86b03d35d16c270d2866ebd6.zip
Instead of reusing MouseUp at the finish of a drag, add a new key
MouseDragEnd. It can be useful to bind them separately in copy mode.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index ac94d780..b2445fce 100644
--- a/tmux.h
+++ b/tmux.h
@@ -135,6 +135,9 @@ enum {
KEYC_MOUSE_KEY(MOUSEDRAG1),
KEYC_MOUSE_KEY(MOUSEDRAG2),
KEYC_MOUSE_KEY(MOUSEDRAG3),
+ KEYC_MOUSE_KEY(MOUSEDRAGEND1),
+ KEYC_MOUSE_KEY(MOUSEDRAGEND2),
+ KEYC_MOUSE_KEY(MOUSEDRAGEND3),
KEYC_MOUSE_KEY(WHEELUP),
KEYC_MOUSE_KEY(WHEELDOWN),