mirror of
https://github.com/tmux/tmux.git
synced 2024-11-16 01:18:52 +00:00
Add a rectangle_toggle format, from Hirokazu Hata.
This commit is contained in:
parent
98c4291df2
commit
28a5bc8fae
1
tmux.1
1
tmux.1
@ -3781,6 +3781,7 @@ The following variables are available, where appropriate:
|
|||||||
.It Li "pane_tty" Ta "" Ta "Pseudo terminal of pane"
|
.It Li "pane_tty" Ta "" Ta "Pseudo terminal of pane"
|
||||||
.It Li "pane_width" Ta "" Ta "Width of pane"
|
.It Li "pane_width" Ta "" Ta "Width of pane"
|
||||||
.It Li "pid" Ta "" Ta "Server PID"
|
.It Li "pid" Ta "" Ta "Server PID"
|
||||||
|
.It Li "rectangle_toggle" Ta "" Ta "1 if rectangle selection is activated"
|
||||||
.It Li "scroll_region_lower" Ta "" Ta "Bottom of scroll region in pane"
|
.It Li "scroll_region_lower" Ta "" Ta "Bottom of scroll region in pane"
|
||||||
.It Li "scroll_region_upper" Ta "" Ta "Top of scroll region in pane"
|
.It Li "scroll_region_upper" Ta "" Ta "Top of scroll region in pane"
|
||||||
.It Li "scroll_position" Ta "" Ta "Scroll position in copy mode"
|
.It Li "scroll_position" Ta "" Ta "Scroll position in copy mode"
|
||||||
|
@ -2447,6 +2447,7 @@ window_copy_add_formats(struct window_pane *wp, struct format_tree *ft)
|
|||||||
|
|
||||||
format_add(ft, "selection_present", "%d", data->screen.sel.flag);
|
format_add(ft, "selection_present", "%d", data->screen.sel.flag);
|
||||||
format_add(ft, "scroll_position", "%d", data->oy);
|
format_add(ft, "scroll_position", "%d", data->oy);
|
||||||
|
format_add(ft, "rectangle_toggle", "%d", data->rectflag);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user