Add function to get current offset from copy mode, from Michael Grant.

This commit is contained in:
nicm
2024-10-21 12:39:49 +00:00
parent eb04f9314b
commit df303770ea
2 changed files with 19 additions and 0 deletions

2
tmux.h
View File

@ -3245,6 +3245,8 @@ void window_copy_pagedown(struct window_pane *, int, int);
void window_copy_start_drag(struct client *, struct mouse_event *);
char *window_copy_get_word(struct window_pane *, u_int, u_int);
char *window_copy_get_line(struct window_pane *, u_int);
int window_copy_get_current_offset(struct window_pane *, u_int *,
u_int *);
/* window-option.c */
extern const struct window_mode window_customize_mode;