Add some formats for search in copy mode (search_present, search_match).

GitHub issue 2268.
This commit is contained in:
nicm
2020-06-11 19:43:34 +00:00
parent cf13d1e110
commit 63c2ed1483
4 changed files with 52 additions and 19 deletions

2
tmux.1
View File

@ -4749,6 +4749,8 @@ The following variables are available, where appropriate:
.It Li "scroll_position" Ta "" Ta "Scroll position in copy mode"
.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 "search_present" Ta "" Ta "1 if search started in copy mode"
.It Li "search_match" Ta "" Ta "Search match if any"
.It Li "selection_active" Ta "" Ta "1 if selection started and changes with the cursor in copy mode"
.It Li "selection_end_x" Ta "" Ta "X position of the end of the selection"
.It Li "selection_end_y" Ta "" Ta "Y position of the end of the selection"