aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2020-03-31 11:38:35 +0000
committernicm <nicm>2020-03-31 11:38:35 +0000
commit01b3bb8e2c695a7a32a332758e5a8f4a650fc98c (patch)
tree5335bb8548506f5c8fabd3e01959c766a5a6704b /tmux.h
parent3bbd66c0137fe95c348ce333ea7eec9507db7659 (diff)
downloadrtmux-01b3bb8e2c695a7a32a332758e5a8f4a650fc98c.tar.gz
rtmux-01b3bb8e2c695a7a32a332758e5a8f4a650fc98c.tar.bz2
rtmux-01b3bb8e2c695a7a32a332758e5a8f4a650fc98c.zip
Add a "second click" key type which is fired for the second click of a
double click, even if the timer hasn't expired to confirm it isn't actually a triple click. Provides a way for people who don't care about triple clicks or can make their commands have no side effects to avoid the double click timer delay.
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 2e6ef0c1..3023376c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -182,6 +182,9 @@ enum {
KEYC_MOUSE_KEY(MOUSEDRAGEND3),
KEYC_MOUSE_KEY(WHEELUP),
KEYC_MOUSE_KEY(WHEELDOWN),
+ KEYC_MOUSE_KEY(SECONDCLICK1),
+ KEYC_MOUSE_KEY(SECONDCLICK2),
+ KEYC_MOUSE_KEY(SECONDCLICK3),
KEYC_MOUSE_KEY(DOUBLECLICK1),
KEYC_MOUSE_KEY(DOUBLECLICK2),
KEYC_MOUSE_KEY(DOUBLECLICK3),