aboutsummaryrefslogtreecommitdiff
path: root/tmux.1
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.1
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.1')
-rw-r--r--tmux.19
1 files changed, 9 insertions, 0 deletions
diff --git a/tmux.1 b/tmux.1
index 5ee1a5aa..e370b4b1 100644
--- a/tmux.1
+++ b/tmux.1
@@ -3982,10 +3982,19 @@ The following mouse events are available:
.It Li "MouseDown1" Ta "MouseUp1" Ta "MouseDrag1" Ta "MouseDragEnd1"
.It Li "MouseDown2" Ta "MouseUp2" Ta "MouseDrag2" Ta "MouseDragEnd2"
.It Li "MouseDown3" Ta "MouseUp3" Ta "MouseDrag3" Ta "MouseDragEnd3"
+.It Li "SecondClick1" Ta "SecondClick2" Ta "SecondClick3"
.It Li "DoubleClick1" Ta "DoubleClick2" Ta "DoubleClick3"
.It Li "TripleClick1" Ta "TripleClick2" Ta "TripleClick3"
.El
.Pp
+The
+.Ql SecondClick
+events are fired for the second click of a double click, even if there may be a
+third click which will fire
+.Ql TripleClick
+instead of
+.Ql DoubleClick .
+.Pp
Each should be suffixed with a location, for example
.Ql MouseDown1Status .
.Pp