mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 12:06:32 +00:00
Document control ranges, from Dane Jensen.
This commit is contained in:
19
tmux.1
19
tmux.1
@@ -5795,8 +5795,13 @@ and a location suffix, one of the following:
|
|||||||
.It Li "ScrollbarSlider" Ta "the scrollbar slider"
|
.It Li "ScrollbarSlider" Ta "the scrollbar slider"
|
||||||
.It Li "ScrollbarUp" Ta "above the scrollbar slider"
|
.It Li "ScrollbarUp" Ta "above the scrollbar slider"
|
||||||
.It Li "ScrollbarDown" Ta "below the scrollbar slider"
|
.It Li "ScrollbarDown" Ta "below the scrollbar slider"
|
||||||
|
.It Li "ControlN" Ta "on control range N"
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
|
See the
|
||||||
|
.Sx STYLES
|
||||||
|
section for information on control ranges.
|
||||||
|
.Pp
|
||||||
The following mouse events are available:
|
The following mouse events are available:
|
||||||
.Bl -column "MouseDown1" "MouseDrag1" "WheelDown" -offset indent
|
.Bl -column "MouseDown1" "MouseDrag1" "WheelDown" -offset indent
|
||||||
.It Li "WheelUp" Ta "WheelDown" Ta ""
|
.It Li "WheelUp" Ta "WheelDown" Ta ""
|
||||||
@@ -6609,6 +6614,7 @@ replaces the previous saved default).
|
|||||||
.Ic range=window|X ,
|
.Ic range=window|X ,
|
||||||
.Ic range=pane|X ,
|
.Ic range=pane|X ,
|
||||||
.Ic range=user|X ,
|
.Ic range=user|X ,
|
||||||
|
.Ic range=control|N ,
|
||||||
.Ic norange
|
.Ic norange
|
||||||
.Xc
|
.Xc
|
||||||
Mark a range for mouse events in the
|
Mark a range for mouse events in the
|
||||||
@@ -6655,6 +6661,19 @@ will be available in the
|
|||||||
format variable.
|
format variable.
|
||||||
.Ql X
|
.Ql X
|
||||||
must be at most 15 bytes in length.
|
must be at most 15 bytes in length.
|
||||||
|
.Pp
|
||||||
|
.Ic range=control|N
|
||||||
|
is a set of ranges for users to define custom behavior.
|
||||||
|
.Ql N
|
||||||
|
can be 0 through 9.
|
||||||
|
When a mouse event occurs in the
|
||||||
|
.Ic range=control|N
|
||||||
|
range, the
|
||||||
|
.Ql ControlN
|
||||||
|
key binding is triggered.
|
||||||
|
See
|
||||||
|
.Sx MOUSE SUPPORT
|
||||||
|
for details.
|
||||||
.It Ic set\-default
|
.It Ic set\-default
|
||||||
Set the current colours and attributes as the default, overwriting any previous
|
Set the current colours and attributes as the default, overwriting any previous
|
||||||
default.
|
default.
|
||||||
|
|||||||
Reference in New Issue
Block a user