mirror of
https://github.com/tmux/tmux.git
synced 2024-11-17 18:08:51 +00:00
Merge branch 'obsd-master'
This commit is contained in:
commit
4694afbed4
1
tmux.1
1
tmux.1
@ -4351,6 +4351,7 @@ 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 "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"
|
||||
.It Li "selection_present" Ta "" Ta "1 if selection started in copy mode"
|
||||
|
@ -590,7 +590,10 @@ window_copy_formats(struct window_mode_entry *wme, struct format_tree *ft)
|
||||
format_add(ft, "selection_start_y", "%d", data->sely);
|
||||
format_add(ft, "selection_end_x", "%d", data->endselx);
|
||||
format_add(ft, "selection_end_y", "%d", data->endsely);
|
||||
}
|
||||
format_add(ft, "selection_active", "%d",
|
||||
data->cursordrag != CURSORDRAG_NONE);
|
||||
} else
|
||||
format_add(ft, "selection_active", "%d", 0);
|
||||
|
||||
s = format_grid_word(data->screen.grid, data->cx, data->cy);
|
||||
if (s != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user